module Comparators
Private Instance Methods
ascending()
click to toggle source
# File lib/totally_lazy/comparators.rb, line 3 def ascending -> (a,b) { a <=> b } end
descending()
click to toggle source
# File lib/totally_lazy/comparators.rb, line 7 def descending -> (a,b) { b <=> a } end