Class: Protos::Table::Caption
- Defined in:
- lib/protos/table/caption.rb
Constant Summary collapse
- Sides =
DOCS: The caption of a table
Types::Coercible::Symbol.enum(:bottom, :top)
- SIDES =
{ bottom: "caption-bottom", top: "caption-top" }.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
20 21 22 |
# File 'lib/protos/table/caption.rb', line 20 def view_template(&) caption(**attrs, &) end |