Module: ArMarshalStore::ClassMethods

Defined in:
lib/ar_marshal_store.rb

Instance Method Summary collapse

Instance Method Details

#marshal_store(store_attribute, options = {}) ⇒ Object



37
38
39
40
# File 'lib/ar_marshal_store.rb', line 37

def marshal_store(store_attribute, options={})
  serialize(store_attribute, NilFriendlyMarshal)
  store_accessor(store_attribute, options[:accessors]) if options.has_key? :accessors
end