Module: Heading::HeadingHelper
- Defined in:
- app/helpers/heading/heading_helper.rb
Instance Method Summary collapse
Instance Method Details
#h(**options) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/heading/heading_helper.rb', line 5 def h(**) if block_given? render(Heading::HComponent.new(**)) do yield end else render(Heading::HComponent.new(**)) end end |