class Either
Public Class Methods
left(value)
click to toggle source
# File lib/totally_lazy/either.rb, line 46 def self.left(value) Left.new(value) end
right(value)
click to toggle source
# File lib/totally_lazy/either.rb, line 50 def self.right(value) Right.new(value) end
Public Instance Methods
flatten()
click to toggle source
# File lib/totally_lazy/either.rb, line 54 def flatten flat_map(identity) end