Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
Object
# File json/lib/json/add/core.rb, line 45 def self.json_create(object) civil(*object.values_at('y', 'm', 'd', 'sg')) end
# File json/lib/json/add/core.rb, line 51 def to_json(*args) { JSON.create_id => self.class.name, 'y' => year, 'm' => month, 'd' => day, 'sg' => start, }.to_json(*args) end
This page was generated for Ruby 1.9.2
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.