module Daitai::SortWith

Public Instance Methods

sort_with() click to toggle source
# File lib/daitai/functions/sort_with.rb, line 5
def sort_with
  lambda do |comparator, sortable|
    sortable.sort(&comparator)
  end.curry
end