Module: EKV::ModelExtensions::ClassMethods
- Defined in:
- lib/easy_key_value/class_methods.rb
Instance Method Summary collapse
-
#key_value_store_defaults(defaults) ⇒ Object
Sets default values for this model.
Instance Method Details
#key_value_store_defaults(defaults) ⇒ Object
Sets default values for this model
8 9 10 |
# File 'lib/easy_key_value/class_methods.rb', line 8 def key_value_store_defaults(defaults) class_variable_set(:@@ekv_defaults, defaults) end |