Class: Brainzlab::Components::TableBody

Inherits:
Base
  • Object
show all
Defined in:
lib/brainzlab/components/table.rb

Instance Method Summary collapse

Methods inherited from Base

#classes

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_templateObject



32
33
34
# File 'lib/brainzlab/components/table.rb', line 32

def view_template(&)
  tbody(**@attrs, &)
end