Class: Ichiban::NavHelper::Nav
- Inherits:
-
Object
- Object
- Ichiban::NavHelper::Nav
- Defined in:
- lib/ichiban/nav_helper.rb
Instance Method Summary collapse
-
#initialize(items, options, context) ⇒ Nav
constructor
A new instance of Nav.
- #to_html ⇒ Object
Constructor Details
#initialize(items, options, context) ⇒ Nav
Returns a new instance of Nav.
13 14 15 16 17 |
# File 'lib/ichiban/nav_helper.rb', line 13 def initialize(items, , context) @items = items @options = @ctx = context end |
Instance Method Details
#to_html ⇒ Object
19 20 21 |
# File 'lib/ichiban/nav_helper.rb', line 19 def to_html ul(@items, 0, @options) end |