Class: Aureus::DataTableRowCell

Inherits:
Renderable show all
Defined in:
lib/aureus/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.



108
109
110
# File 'lib/aureus/data_table.rb', line 108

def initialize data
	@data = data
end

Instance Method Details

#renderObject



112
113
114
# File 'lib/aureus/data_table.rb', line 112

def render
	 "td", @data
end