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