Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/tire/rubyext/to_json.rb

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ Object



19
20
21
# File 'lib/tire/rubyext/to_json.rb', line 19

def to_json(options=nil)
  %Q/"#{self.iso8601}"/
end