Object
# File lib/json/add/core.rb, line 45 45: def self.json_create(object) 46: civil(*object.values_at('y', 'm', 'd', 'sg')) 47: end
# File lib/json/add/core.rb, line 51 51: def to_json(*args) 52: { 53: JSON.create_id => self.class.name, 54: 'y' => year, 55: 'm' => month, 56: 'd' => day, 57: 'sg' => start, 58: }.to_json(*args) 59: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.