Method: SimpleRecord::ActiveSdb::Base#attributes

Defined in:
lib/simple_record/active_sdb.rb,
lib/simple_record/active_sdb.rb

#attributesObject

Returns a hash of all the attributes.

puts item.attributes.inspect #=> {"name"=>["Cat"], "id"=>"2937601a-e45d-11dc-a75f-001bfc466dd7", "toys"=>["Jons socks", "clew", "mice"]}


645
646
647
# File 'lib/simple_record/active_sdb.rb', line 645

def attributes
  @attributes
end