Method: DateTime#to_json
- Defined in:
- lib/json/add/date_time.rb
#to_json(*args) ⇒ Object
Stores class name (DateTime) with Julian year y, month m, day d, hour H, minute M, second S, offset of and Day of Calendar Reform sg as JSON string
45 46 47 |
# File 'lib/json/add/date_time.rb', line 45 def to_json(*args) as_json.to_json(*args) end |