Class: Xebec::TitleEnhancedNavBarRenderer

Inherits:
NavBarRenderer show all
Defined in:
lib/xebec/title_enhanced_nav_bar_renderer.rb

Overview

Replaces the default Xebec::NavBarRenderer with a version that supports separate “text” and “title” internationalization options for each navigation item. Instead of “navbar.#barbar.name.#item_name” for the text, use “navbar.#barbar.name.#item_name.text”. Additionally, use “navbar.#barbar.name.#item_name.title” for a separate title. The title will default to the text if not specified.

See Also:

Method Summary

Methods inherited from NavBarRenderer

#initialize, #inspect, #method_missing, #respond_to?, #to_s

Constructor Details

This class inherits a constructor from Xebec::NavBarRenderer

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Xebec::NavBarRenderer