Module: FmStore::Fields::ClassMethods

Defined in:
lib/fm_store/fields.rb

Instance Method Summary collapse

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, options = {})
  set_field(name.to_s, type, options)
end