Class: Protos::Table::Caption

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/table/caption.rb

Constant Summary collapse

SIDES =

DOCS: The caption of a table

{
  bottom: "caption-bottom",
  top: "caption-top"
}.freeze

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject



18
19
20
# File 'lib/protos/table/caption.rb', line 18

def view_template(&)
  caption(**attrs, &)
end