Class: SimplerNavigation::Renderers::Breadcrumb
- Defined in:
- lib/simpler_navigation/renderers/breadcrumb.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SimplerNavigation::Renderers::Base
Instance Method Details
#render ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/simpler_navigation/renderers/breadcrumb.rb', line 6 def render return "" if @item.nil? = (@item) join_with = @options[:join_with] || " " content_tag(:div, safe_join(, join_with), @options[:attributes]) end |