Class: Fidelity::Widget::Tab::TabPanel
- Inherits:
-
Object
- Object
- Fidelity::Widget::Tab::TabPanel
- Defined in:
- app/fidelity/widgets/tabs/tabs.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#panel ⇒ Object
Returns the value of attribute panel.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(label = 'Tab', panel = '', state = nil) ⇒ TabPanel
constructor
A new instance of TabPanel.
Constructor Details
#initialize(label = 'Tab', panel = '', state = nil) ⇒ TabPanel
Returns a new instance of TabPanel.
27 28 29 30 31 |
# File 'app/fidelity/widgets/tabs/tabs.rb', line 27 def initialize label='Tab', panel='', state=nil @label = label @panel = panel @state = state end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
26 27 28 |
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26 def label @label end |
#panel ⇒ Object
Returns the value of attribute panel.
26 27 28 |
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26 def panel @panel end |
#state ⇒ Object
Returns the value of attribute state.
26 27 28 |
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26 def state @state end |