Class: PhlexUI::Tabs::Trigger
- Defined in:
- lib/phlex_ui/tabs/trigger.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(value:, **attrs) ⇒ Trigger
constructor
A new instance of Trigger.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(value:, **attrs) ⇒ Trigger
Returns a new instance of Trigger.
5 6 7 8 |
# File 'lib/phlex_ui/tabs/trigger.rb', line 5 def initialize(value:, **attrs) @value = value super(**attrs) end |
Instance Method Details
#view_template ⇒ Object
10 11 12 |
# File 'lib/phlex_ui/tabs/trigger.rb', line 10 def view_template(&) (**attrs, &) end |