Class: Brainzlab::Components::TableRow
- Defined in:
- lib/brainzlab/components/table.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TableRow
constructor
A new instance of TableRow.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(**attrs) ⇒ TableRow
Returns a new instance of TableRow.
38 39 40 |
# File 'lib/brainzlab/components/table.rb', line 38 def initialize(**attrs) @attrs = attrs end |
Instance Method Details
#view_template ⇒ Object
42 43 44 |
# File 'lib/brainzlab/components/table.rb', line 42 def view_template(&) tr(**@attrs, &) end |