Class: Protos::Command::Title
- Inherits:
-
Protos::Component
- Object
- Phlex::HTML
- Protos::Component
- Protos::Command::Title
- Defined in:
- lib/protos/command/title.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: The title for a group of commands.
Methods inherited from Protos::Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: The title for a group of commands. This is expected to be used inside a Protos::Command::Group component.
9 10 11 |
# File 'lib/protos/command/title.rb', line 9 def view_template(&) li { h2(**attrs, &) } end |