Sha256: e67bc8a990c0a7df18bce6fb60873ddffa465d84d5473c5b1065c2928792193f

Contents?: true

Size: 128 Bytes

Versions: 38

Compression:

Stored size: 128 Bytes

Contents

module Comparators
  private
  def ascending
    -> (a,b) { a <=> b }
  end

  def descending
    -> (a,b) { b <=> a }
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
totally_lazy-0.1.62 lib/totally_lazy/comparators.rb
totally_lazy-0.1.61 lib/totally_lazy/comparators.rb
totally_lazy-0.1.60 lib/totally_lazy/comparators.rb
totally_lazy-0.1.59 lib/totally_lazy/comparators.rb
totally_lazy-0.1.58 lib/totally_lazy/comparators.rb
totally_lazy-0.1.57 lib/totally_lazy/comparators.rb
totally_lazy-0.1.56 lib/totally_lazy/comparators.rb
totally_lazy-0.1.55 lib/totally_lazy/comparators.rb
totally_lazy-0.1.54 lib/totally_lazy/comparators.rb
totally_lazy-0.1.53 lib/totally_lazy/comparators.rb
totally_lazy-0.1.52 lib/totally_lazy/comparators.rb
totally_lazy-0.1.51 lib/totally_lazy/comparators.rb
totally_lazy-0.1.50 lib/totally_lazy/comparators.rb
totally_lazy-0.1.49 lib/totally_lazy/comparators.rb
totally_lazy-0.1.48 lib/totally_lazy/comparators.rb
totally_lazy-0.1.47 lib/totally_lazy/comparators.rb
totally_lazy-0.1.46 lib/totally_lazy/comparators.rb
totally_lazy-0.1.45 lib/totally_lazy/comparators.rb
totally_lazy-0.1.44 lib/totally_lazy/comparators.rb
totally_lazy-0.1.43 lib/totally_lazy/comparators.rb