Class: Aureus::Components::DataTableRowCell

Inherits:
Renderable
  • Object
show all
Defined in:
lib/aureus/components/data_table.rb

Instance Method Summary collapse

Methods inherited from Renderable

#compact, #compact_render, #content_tag, #init

Constructor Details

#initialize(data) ⇒ DataTableRowCell

Returns a new instance of DataTableRowCell.



126
127
128
# File 'lib/aureus/components/data_table.rb', line 126

def initialize data
  @data = data
end

Instance Method Details

#renderObject



130
131
132
# File 'lib/aureus/components/data_table.rb', line 130

def render
   'td', @data
end