Class: Rlocu::OptionGroup
- Inherits:
-
Object
- Object
- Rlocu::OptionGroup
- Defined in:
- lib/rlocu/menu.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(meta_option_group) ⇒ OptionGroup
constructor
A new instance of OptionGroup.
Constructor Details
#initialize(meta_option_group) ⇒ OptionGroup
Returns a new instance of OptionGroup.
96 97 98 99 100 |
# File 'lib/rlocu/menu.rb', line 96 def initialize() @type = ['type'] @text = ['text'] self. = ['options'] end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
94 95 96 |
# File 'lib/rlocu/menu.rb', line 94 def @options end |
#text ⇒ Object
Returns the value of attribute text.
93 94 95 |
# File 'lib/rlocu/menu.rb', line 93 def text @text end |
#type ⇒ Object
Returns the value of attribute type.
93 94 95 |
# File 'lib/rlocu/menu.rb', line 93 def type @type end |