Class: Fe::OptionGroup
- Inherits:
-
Object
- Object
- Fe::OptionGroup
- Defined in:
- app/models/fe/option_group.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label, group) ⇒ OptionGroup
constructor
A new instance of OptionGroup.
Constructor Details
#initialize(label, group) ⇒ OptionGroup
Returns a new instance of OptionGroup.
5 6 7 8 |
# File 'app/models/fe/option_group.rb', line 5 def initialize(label, group) @label = label @group = group end |
Instance Attribute Details
#group ⇒ Object (readonly)
Returns the value of attribute group.
4 5 6 |
# File 'app/models/fe/option_group.rb', line 4 def group @group end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
3 4 5 |
# File 'app/models/fe/option_group.rb', line 3 def label @label end |