Module: Superstore::Attributes::ClassMethods
- Defined in:
- lib/superstore/attributes.rb
Instance Method Summary collapse
Instance Method Details
#attribute(name, options) ⇒ Object
6 7 8 9 10 |
# File 'lib/superstore/attributes.rb', line 6 def attribute(name, ) type_name = "superstore_#{.fetch(:type)}".to_sym super(name, type_name) end |