Class: TwitterBootstrapMarkup::NavHeader
- Defined in:
- lib/twitter_bootstrap_markup/nav_header.rb
Constant Summary
Constants included from Popover
Constants included from Tooltip
Instance Attribute Summary
Attributes inherited from Tag
Instance Method Summary collapse
-
#initialize(text) ⇒ NavHeader
constructor
A new instance of NavHeader.
Methods inherited from Tag
#append, block, inline, #prepend, #to_s
Methods included from SidePosition
Methods included from Popover
Methods included from Tooltip
Constructor Details
#initialize(text) ⇒ NavHeader
Returns a new instance of NavHeader.
4 5 6 |
# File 'lib/twitter_bootstrap_markup/nav_header.rb', line 4 def initialize(text) super(:li, text, :class => 'nav-header') {} end |