Class: Protos::Command::Title

Inherits:
Protos::Component show all
Defined in:
lib/protos/command/title.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

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