Method: ActiveEntity::Store::ClassMethods#store
- Defined in:
- lib/active_entity/store.rb
#store(store_attribute, options = {}) ⇒ Object
104 105 106 107 |
# File 'lib/active_entity/store.rb', line 104 def store(store_attribute, = {}) serialize store_attribute, IndifferentCoder.new(store_attribute, [:coder]) store_accessor(store_attribute, [:accessors], **.slice(:prefix, :suffix)) if .has_key? :accessors end |