Class: Fe::OptionGroup

Inherits:
Object
  • Object
show all
Defined in:
app/models/fe/option_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#groupObject (readonly)

Returns the value of attribute group.



4
5
6
# File 'app/models/fe/option_group.rb', line 4

def group
  @group
end

#labelObject (readonly)

Returns the value of attribute label.



3
4
5
# File 'app/models/fe/option_group.rb', line 3

def label
  @label
end