Module: Alert::AlertHelper
- Defined in:
- app/helpers/alert/alert_helper.rb
Instance Method Summary collapse
Instance Method Details
#alert_message(**options) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/alert/alert_helper.rb', line 5 def (**) if block_given? render(Alert::AlertComponent.new(**)) do yield end else render(Alert::AlertComponent.new(**)) end end |