Class: Aureus::DataTableRowCell
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::DataTableRowCell
- Defined in:
- lib/aureus/data_table.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ DataTableRowCell
constructor
A new instance of DataTableRowCell.
- #render ⇒ Object
Methods inherited from Renderable
#compact, #compact_render, #content_tag, #init
Constructor Details
#initialize(data) ⇒ DataTableRowCell
Returns a new instance of DataTableRowCell.
108 109 110 |
# File 'lib/aureus/data_table.rb', line 108 def initialize data @data = data end |
Instance Method Details
#render ⇒ Object
112 113 114 |
# File 'lib/aureus/data_table.rb', line 112 def render content_tag "td", @data end |