Class: ActiveSupport::TimeWithZone

Inherits:
Object
  • Object
show all
Defined in:
lib/netzke/core/ruby_ext/time_with_zone.rb

Instance Method Summary collapse

Instance Method Details

#to_json(options = {}) ⇒ Object



3
4
5
# File 'lib/netzke/core/ruby_ext/time_with_zone.rb', line 3

def to_json(options = {})
  self.to_s(:db).to_json
end