Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/porth-plist.rb

Instance Method Summary collapse

Instance Method Details

#to_plistObject

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