Class: Aureus::Components::DataTableRowCell
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::Components::DataTableRowCell
- Defined in:
- lib/aureus/components/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.
97 98 99 |
# File 'lib/aureus/components/data_table.rb', line 97 def initialize(data) @data = data end |
Instance Method Details
#render ⇒ Object
101 102 103 |
# File 'lib/aureus/components/data_table.rb', line 101 def render content_tag 'td', @data end |