Class: PhlexUI::Tabs::Content
- Defined in:
- lib/phlex_ui/tabs/content.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(value:, **attrs) ⇒ Content
constructor
A new instance of Content.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(value:, **attrs) ⇒ Content
Returns a new instance of Content.
5 6 7 8 |
# File 'lib/phlex_ui/tabs/content.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/content.rb', line 10 def view_template(&) div(**attrs, &) end |