Class: RubyUI::Tabs
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(default: nil, **attrs) ⇒ Tabs
constructor
A new instance of Tabs.
- #view_template ⇒ Object
Constructor Details
#initialize(default: nil, **attrs) ⇒ Tabs
Returns a new instance of Tabs.
5 6 7 8 |
# File 'lib/ruby_ui/tabs/tabs.rb', line 5 def initialize(default: nil, **attrs) @default = default super(**attrs) end |
Instance Method Details
#view_template ⇒ Object
10 11 12 |
# File 'lib/ruby_ui/tabs/tabs.rb', line 10 def view_template(&) div(**attrs, &) end |