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 |
# File 'lib/simpler_navigation/renderers/breadcrumb.rb', line 6 def render return "" if @item.nil? = (@item) content_tag(:ol, safe_join(), [:attributes]) end |