Class: Protos::Hero::Content
- Defined in:
- lib/protos/hero/content.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: The content of a hero.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: The content of a hero. This would be centered within the main component container.
9 10 11 |
# File 'lib/protos/hero/content.rb', line 9 def view_template(&) div(**attrs, &) end |