Module: Potpourri::FieldHelpers::ClassMethods

Defined in:
lib/lib/field_helpers.rb

Instance Method Summary collapse

Instance Method Details

#exportable_field(name, options = {}) ⇒ Object



16
17
18
# File 'lib/lib/field_helpers.rb', line 16

def exportable_field(name, options = {})
  ExportableField.new name, options
end

#field(name, options = {}) ⇒ Object



8
9
10
# File 'lib/lib/field_helpers.rb', line 8

def field(name, options = {})
  Field.new name, options
end

#importable_field(name, options = {}) ⇒ Object



12
13
14
# File 'lib/lib/field_helpers.rb', line 12

def importable_field(name, options = {})
  ImportableField.new name, options
end