Class: PhlexUI::AlertDialog::Action
- Inherits:
-
Base
- Object
- Phlex::HTML
- Base
- PhlexUI::AlertDialog::Action
show all
- Defined in:
- lib/phlex_ui/alert_dialog/action.rb
Instance Attribute Summary
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#before_template, #initialize
Constructor Details
This class inherits a constructor from PhlexUI::Base
Instance Method Details
#view_template ⇒ Object
5
6
7
|
# File 'lib/phlex_ui/alert_dialog/action.rb', line 5
def view_template(&)
render PhlexUI::Button.new(**attrs, &)
end
|