Module: Potpourri::FieldHelpers::ClassMethods
- Defined in:
- lib/lib/field_helpers.rb
Instance Method Summary collapse
- #exportable_field(name, options = {}) ⇒ Object
- #field(name, options = {}) ⇒ Object
- #importable_field(name, options = {}) ⇒ Object
Instance Method Details
#exportable_field(name, options = {}) ⇒ Object
16 17 18 |
# File 'lib/lib/field_helpers.rb', line 16 def exportable_field(name, = {}) ExportableField.new name, end |
#field(name, options = {}) ⇒ Object
8 9 10 |
# File 'lib/lib/field_helpers.rb', line 8 def field(name, = {}) Field.new name, end |
#importable_field(name, options = {}) ⇒ Object
12 13 14 |
# File 'lib/lib/field_helpers.rb', line 12 def importable_field(name, = {}) ImportableField.new name, end |