Class: Datagrid::Columns::Column::ResponseFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/datagrid/columns/column.rb

Overview

Datagrid class holding an information of how a column should be rendered in data/console/csv format and HTML format

Instance Attribute Summary collapse

Instance Attribute Details

#data_blockObject

Returns the value of attribute data_block.



9
10
11
# File 'lib/datagrid/columns/column.rb', line 9

def data_block
  @data_block
end

#html_blockObject

Returns the value of attribute html_block.



9
10
11
# File 'lib/datagrid/columns/column.rb', line 9

def html_block
  @html_block
end