Object
# File lib/json/add/core.rb, line 45 def self.json_create(object) civil(*object.values_at('y', 'm', 'd', 'sg')) end
# File 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.