Object
Date serialization/deserialization
Returns a hash, that will be turned into a JSON object and represent this object.
# File lib/json/add/date.rb, line 19 19: def as_json(*) 20: { 21: JSON.create_id => self.class.name, 22: 'y' => year, 23: 'm' => month, 24: 'd' => day, 25: 'sg' => start, 26: } 27: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.