Class: Formic::TabPanel

Inherits:
Base
  • Object
show all
Defined in:
lib/formic/tab_panel.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#content, #options, #page, #template

Instance Method Summary collapse

Methods inherited from Base

#add_class, default_template, #formics, #has_class?, #initialize, #merge_options, #method_missing, template, #to_s

Constructor Details

This class inherits a constructor from Formic::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Formic::Base

Instance Attribute Details

#tabsObject

Returns the value of attribute tabs.



4
5
6
# File 'lib/formic/tab_panel.rb', line 4

def tabs
  @tabs
end

Instance Method Details

#_initialize(options = {}, &block) ⇒ Object



6
7
8
9
10
# File 'lib/formic/tab_panel.rb', line 6

def _initialize options={}, &block
  super
  @tabs = []
  return self
end