Module: FmStore::Fields::ClassMethods
- Defined in:
- lib/fm_store/fields.rb
Instance Method Summary collapse
-
#field(name, type, options = {}) ⇒ Object
Defines all the fields that are available from the layout.
Instance Method Details
#field(name, type, options = {}) ⇒ Object
Defines all the fields that are available from the layout.
14 15 16 |
# File 'lib/fm_store/fields.rb', line 14 def field(name, type, = {}) set_field(name.to_s, type, ) end |