Class: DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/startback/ext/date_time.rb

Instance Method Summary collapse

Instance Method Details

#to_s(*args) ⇒ Object

Makes sure that DateTime are exported with ISO8601 conventions when using to_json and to_csv



5
6
7
# File 'lib/startback/ext/date_time.rb', line 5

def to_s(*args)
  iso8601
end