Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/parse/model/date.rb

Overview

Adds extensions to Date class to be compatible with Parse::Date.

Instance Method Summary collapse

Instance Method Details

#parse_dateParse::Date

Returns Converts object to Parse::Date.

Returns:


79
80
81
# File 'lib/parse/model/date.rb', line 79

def parse_date
  Parse::Date.parse iso8601
end