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