module Pairs
Private Instance Methods
first()
click to toggle source
# File lib/totally_lazy/pair.rb, line 7 def first ->(pair) { pair.first } end
pair(first, second)
click to toggle source
# File lib/totally_lazy/pair.rb, line 3 def pair(first, second) Pair.new(first, second) end
second()
click to toggle source
# File lib/totally_lazy/pair.rb, line 11 def second ->(pair) { pair.second } end