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:


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

def parse_date
  Parse::Date.parse iso8601
end