Class: Ducktrails::ViewHelpers::Breadcrumber
- Defined in:
- lib/ducktrails/view_helpers.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Breadcrumber
constructor
A new instance of Breadcrumber.
- #render(&block) ⇒ Object
Methods inherited from Tag
Constructor Details
#initialize(options = {}) ⇒ Breadcrumber
Returns a new instance of Breadcrumber.
9 10 11 12 |
# File 'lib/ducktrails/view_helpers.rb', line 9 def initialize( = {}) @template = [:template] @output_buffer = ActionView::OutputBuffer.new end |
Instance Method Details
#render(&block) ⇒ Object
14 15 16 |
# File 'lib/ducktrails/view_helpers.rb', line 14 def render(&block) @output_buffer end |