Class: Phlexi::Table::Components::HeaderCell
- Defined in:
- lib/phlexi/table/components/header_cell.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(value) ⇒ HeaderCell
constructor
A new instance of HeaderCell.
- #view_template ⇒ Object
Constructor Details
#initialize(value) ⇒ HeaderCell
Returns a new instance of HeaderCell.
7 8 9 |
# File 'lib/phlexi/table/components/header_cell.rb', line 7 def initialize(value) @value = value end |
Instance Method Details
#view_template ⇒ Object
11 12 13 14 15 |
# File 'lib/phlexi/table/components/header_cell.rb', line 11 def view_template div(class: themed(:header_cell_content_wrapper)) do plain @value.to_s end end |