Class: RademadeAdmin::Model::Configuration::FieldLabel

Inherits:
Object
  • Object
show all
Defined in:
lib/rademade_admin/model/configuration/field_label.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject

Returns the value of attribute label.



7
8
9
# File 'lib/rademade_admin/model/configuration/field_label.rb', line 7

def label
  @label
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/rademade_admin/model/configuration/field_label.rb', line 7

def name
  @name
end