Sha256: 7283acd71a3332606dcdb1d700e60207d5f250e461fe5fa40b435c2307ea8bc1
Contents?: true
Size: 284 Bytes
Versions: 3
Compression:
Stored size: 284 Bytes
Contents
# frozen_string_literal :true module Heading module HeadingHelper def h(**options) if block_given? render(Heading::HComponent.new(**options)) do yield end else render(Heading::HComponent.new(**options)) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bsvc-0.1.2 | app/helpers/heading/heading_helper.rb |
bsvc-0.1.1 | app/helpers/heading/heading_helper.rb |
bsvc-0.1.0 | app/helpers/heading/heading_helper.rb |