Class: Protos::Table::Head
- Defined in:
- lib/protos/table/head.rb
Constant Summary collapse
- ALLIGNMENT =
DOCS: The head of a table
{ left: "text-left", right: "text-right", center: "text-center" }.freeze
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
19 20 21 |
# File 'lib/protos/table/head.rb', line 19 def view_template(&) th(**attrs, &) end |