Class: Protos::Hero::Content

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/hero/content.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

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