Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/porth-plist.rb
Instance Method Summary collapse
-
#to_plist ⇒ Object
output the attributes of the ActiveRecord::Base object to a .plist property list similar to #to_xml or #to_json.
Instance Method Details
#to_plist ⇒ Object
output the attributes of the ActiveRecord::Base object to a .plist property list similar to #to_xml or #to_json
19 20 21 |
# File 'lib/porth-plist.rb', line 19 def to_plist attributes.to_plist end |