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.



97
98
99
# File 'lib/aureus/components/data_table.rb', line 97

def initialize(data)
  @data = data
end

Instance Method Details

#renderObject



101
102
103
# File 'lib/aureus/components/data_table.rb', line 101

def render
   'td', @data
end