Class: Fidelity::Widget::Tab::TabPanel

Inherits:
Object
  • Object
show all
Defined in:
app/fidelity/widgets/tabs/tabs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject

Returns the value of attribute label.



26
27
28
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26

def label
  @label
end

#panelObject

Returns the value of attribute panel.



26
27
28
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26

def panel
  @panel
end

#stateObject

Returns the value of attribute state.



26
27
28
# File 'app/fidelity/widgets/tabs/tabs.rb', line 26

def state
  @state
end