.apply(collection, column = nil, direction = nil) ⇒ Object
3
4
5
# File 'lib/sorty_sorter/sort.rb', line 3defself.apply(collection,column=nil,direction=nil)collection.order(Params.new(column,direction,collection).options)end
.apply!(collection, column = nil, direction = nil) ⇒ Object
7
8
9
# File 'lib/sorty_sorter/sort.rb', line 7defself.apply!(collection,column=nil,direction=nil)collection.order(Params.new(column,direction,collection).options!)end