Class: RademadeAdmin::Model::Configuration::FieldLabel
- Inherits:
-
Object
- Object
- RademadeAdmin::Model::Configuration::FieldLabel
- Defined in:
- lib/rademade_admin/model/configuration/field_label.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, label) ⇒ FieldLabel
constructor
A new instance of FieldLabel.
Constructor Details
#initialize(name, label) ⇒ FieldLabel
Returns a new instance of FieldLabel.
9 10 11 |
# File 'lib/rademade_admin/model/configuration/field_label.rb', line 9 def initialize(name, label) @name, @label = name, label end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
7 8 9 |
# File 'lib/rademade_admin/model/configuration/field_label.rb', line 7 def label @label end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/rademade_admin/model/configuration/field_label.rb', line 7 def name @name end |