Class: Brainzlab::Components::TableCell
- Defined in:
- lib/brainzlab/components/table.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TableCell
constructor
A new instance of TableCell.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(**attrs) ⇒ TableCell
Returns a new instance of TableCell.
58 59 60 |
# File 'lib/brainzlab/components/table.rb', line 58 def initialize(**attrs) @attrs = attrs end |
Instance Method Details
#view_template ⇒ Object
62 63 64 |
# File 'lib/brainzlab/components/table.rb', line 62 def view_template(&) td(**@attrs, &) end |