class Interview::Breadcrumbs
Public Instance Methods
build(b) { || ... }
click to toggle source
# File lib/interview/controls/breadcrumbs.rb, line 4 def build(b) if Object.const_defined?('Gretel') b << h.breadcrumbs else b.section style: 'ol', html_class: 'breadcrumb' do yield if block_given? end end end