module ItSorts::Sorters
Public Instance Methods
ascending(value)
click to toggle source
# File lib/it_sorts/sorters.rb, line 3 def ascending(value) value end
Also aliased as: asc
descending(value)
click to toggle source
# File lib/it_sorts/sorters.rb, line 8 def descending(value) -1 * value end
Also aliased as: desc