Class: Time

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

Instance Method Summary collapse

Instance Method Details

#to_json(*args) ⇒ Object



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

def to_json(*args)
  self.utc.iso8601.to_s.to_json(*args)
end