Class: Brainzlab::Components::TableBody
- Defined in:
- lib/brainzlab/components/table.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TableBody
constructor
A new instance of TableBody.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(**attrs) ⇒ TableBody
Returns a new instance of TableBody.
28 29 30 |
# File 'lib/brainzlab/components/table.rb', line 28 def initialize(**attrs) @attrs = attrs end |
Instance Method Details
#view_template ⇒ Object
32 33 34 |
# File 'lib/brainzlab/components/table.rb', line 32 def view_template(&) tbody(**@attrs, &) end |