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.
160 161 162 163 164 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 160 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.
158 159 160 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 158 def editable @editable end |
#sym ⇒ Object
Returns the value of attribute sym.
158 159 160 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 158 def sym @sym end |
#type ⇒ Object
Returns the value of attribute type.
158 159 160 |
# File 'app/controllers/concerns/olivander/resources/auto_form_attributes.rb', line 158 def type @type end |