Method: TableSortable::Column::Sorter#run

Defined in:
lib/table_sortable/column/sorter.rb

#run(records) ⇒ Object



24
25
26
# File 'lib/table_sortable/column/sorter.rb', line 24

def run(records)
  records.instance_exec(sort_order, column, &proc)
end