Module: Kernel
- Defined in:
- lib/syncer/syncable_record.rb
Instance Method Summary collapse
-
#to_rjson ⇒ Object
helper that returns object in Hash/Array structure similar to json.
Instance Method Details
#to_rjson ⇒ Object
helper that returns object in Hash/Array structure similar to json
5 6 7 |
# File 'lib/syncer/syncable_record.rb', line 5 def to_rjson JSON.parse(self.to_json) end |