Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/json_builder/extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_builderObject



67
68
69
# File 'lib/json_builder/extensions.rb', line 67

def to_builder
  %("#{to_time.iso8601}")
end