Module: RailsBootstrapHelpers::Helpers::NavigationHelper

Includes:
OptionsHelper
Defined in:
lib/rails-bootstrap-helpers/helpers/navigation_helper.rb

Instance Method Summary collapse

Methods included from OptionsHelper

#append_class!, #bs_options

Instance Method Details

#tabbable(*args, &block) ⇒ Object

Renders a Bootstrap tabbable navigation.

Parameters:

  • args (Array<String>, Hash)

    an array of the names of the tab items. If the last item is a Hash it’s considered to be the options.

  • options (Hash)

    a customizable set of options

  • option (Hash)

    a customizable set of options



14
15
16
# File 'lib/rails-bootstrap-helpers/helpers/navigation_helper.rb', line 14

def tabbable (*args, &block)
  RailsBootstrapHelpers::Renderers::TabbableRenderer.new(self, *args, &block).render
end