# File lib/json/add/core.rb, line 64 def to_json(*args) { 'json_class' => self.class.name, 'y' => year, 'm' => month, 'd' => day, 'H' => hour, 'M' => min, 'S' => sec, 'of' => offset.to_s, 'sg' => start, }.to_json(*args) end