Class: Protos::Table::Cell
- Defined in:
- lib/protos/table/cell.rb
Constant Summary collapse
- ALLIGNMENT =
DOCS: A single cell in 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/cell.rb', line 19 def view_template(&) td(**attrs, &) end |