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