lib/xebec.rb in xebec-2.1.0 vs lib/xebec.rb in xebec-2.2.0
- old
+ new
@@ -1,14 +1,23 @@
+require 'xebec/nav_bar_renderer'
+
module Xebec
class <<self
# The CSS class that is added to navigation items that are
# "active." Defaults to "current."
attr_accessor :currently_selected_nav_item_class
+ # The navigation bar renderer class. Defaults to
+ # Xebec::NavBarRenderer
+ #
+ # @see Xebec::NavBarRenderer
+ attr_accessor :renderer_class
+
end
self.currently_selected_nav_item_class = :current
+ self.renderer_class = Xebec::NavBarRenderer
autoload :NavBarHelper, 'xebec/nav_bar_helper'
autoload :ControllerSupport, 'xebec/controller_support'
autoload :StylesheetGenerator, 'xebec/stylesheet_generator'