Module: TabMenu

Defined in:
lib/tab_menu.rb,
lib/tab_menu/rails.rb,
lib/tab_menu/version.rb,
lib/tab_menu/tab_builder.rb,
lib/tab_menu/view_helpers.rb,
lib/tab_menu/configuration.rb

Defined Under Namespace

Modules: ViewHelpers Classes: Configuration, Rails, TabBuilder

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.configurationObject



9
10
11
# File 'lib/tab_menu.rb', line 9

def self.configuration
  @configuration ||= TabMenu::Configuration.new
end

.configure(&block) ⇒ Object



5
6
7
# File 'lib/tab_menu.rb', line 5

def self.configure(&block)
  @configuration = TabMenu::Configuration.new(&block)
end