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