Module: Acts::DataTable::SortableColumns::Renderers

Defined in:
lib/acts_as_data_table/sortable_columns/renderers/default.rb,
lib/acts_as_data_table/sortable_columns/renderers/bootstrap2.rb,
lib/acts_as_data_table/sortable_columns/renderers/bootstrap3.rb

Defined Under Namespace

Classes: Bootstrap2, Bootstrap3, Default

Class Method Summary collapse

Class Method Details

.default_rendererObject



10
11
12
# File 'lib/acts_as_data_table/sortable_columns/renderers/default.rb', line 10

def self.default_renderer
  @@default_renderer ||= 'Acts::DataTable::SortableColumns::Renderers::Default'
end

.default_renderer=(renderer) ⇒ Object



14
15
16
# File 'lib/acts_as_data_table/sortable_columns/renderers/default.rb', line 14

def self.default_renderer=(renderer)
  @@default_renderer = renderer.to_s
end