Class: Brainzlab::Components::TableHead
- Defined in:
- lib/brainzlab/components/table.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TableHead
constructor
A new instance of TableHead.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(**attrs) ⇒ TableHead
Returns a new instance of TableHead.
48 49 50 |
# File 'lib/brainzlab/components/table.rb', line 48 def initialize(**attrs) @attrs = attrs end |
Instance Method Details
#view_template ⇒ Object
52 53 54 |
# File 'lib/brainzlab/components/table.rb', line 52 def view_template(&) th(**@attrs, &) end |