class Navigatrix::Rendering::Strategies::Bootstrap::Navbar

Private Instance Methods

html_attributes() click to toggle source
Calls superclass method
# File lib/navigatrix/rendering/strategies/bootstrap/navbar.rb, line 11
def html_attributes
  super.merge_attribute(:class, "nav")
end
items() click to toggle source
Calls superclass method
# File lib/navigatrix/rendering/strategies/bootstrap/navbar.rb, line 15
def items
  super.map { |item| (item.has_children? ? Item : Strategies::Item).new(item, options) }
end