Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/startback/ext/time.rb
Instance Method Summary collapse
-
#to_s(*args) ⇒ Object
Makes sure that Time are exported with ISO8601 conventions when using to_json and to_csv.
Instance Method Details
#to_s(*args) ⇒ Object
Makes sure that Time are exported with ISO8601 conventions when using to_json and to_csv
5 6 7 |
# File 'lib/startback/ext/time.rb', line 5 def to_s(*args) iso8601 end |