Class: Olivander::Resources::ResourceFields::ResourceField
- Inherits:
-
Object
- Object
- Olivander::Resources::ResourceFields::ResourceField
- Defined in:
- app/controllers/concerns/olivander/resources/auto_form_attributes.rb
Instance Attribute Summary collapse
-
#editable ⇒ Object
Returns the value of attribute editable.
-
#sym ⇒ Object
Returns the value of attribute sym.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(sym, type, editable, group) ⇒ ResourceField
constructor
A new instance of ResourceField.
Constructor Details
#initialize(sym, type, editable, group) ⇒ ResourceField
Returns a new instance of ResourceField.
152 153 154 155 156 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 152 def initialize(sym, type, editable, group) self.sym = sym self.type = type self.editable = editable end |
Instance Attribute Details
#editable ⇒ Object
Returns the value of attribute editable.
150 151 152 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 150 def editable @editable end |
#sym ⇒ Object
Returns the value of attribute sym.
150 151 152 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 150 def sym @sym end |
#type ⇒ Object
Returns the value of attribute type.
150 151 152 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 150 def type @type end |