included
7 8 9 10 11 12 13
# File 'app/helpers/nitro_kit/badge_helper.rb', line 7 def nk_badge(text = nil, **attrs, &block) content = text || capture(&block) render(NitroKit::Badge.new(**attrs)) do content end end