Class: Daisy::DataDisplay::TableComponent::BodyRowComponent
- Inherits:
-
LocoMotion::BasicComponent
- Object
- LocoMotion::BaseComponent
- LocoMotion::BasicComponent
- Daisy::DataDisplay::TableComponent::BodyRowComponent
- Defined in:
- app/components/daisy/data_display/table_component.rb
Overview
A component for rendering table rows (<tr>) containing data cells.
Instance Method Summary collapse
Methods inherited from LocoMotion::BasicComponent
Instance Method Details
#before_render ⇒ Object
132 133 134 |
# File 'app/components/daisy/data_display/table_component.rb', line 132 def before_render set_tag_name :component, :tr end |
#call ⇒ Object
136 137 138 139 140 141 142 |
# File 'app/components/daisy/data_display/table_component.rb', line 136 def call part(:component) do columns.each do |column| concat(column) end end end |