class Left
Public Instance Methods
==(other)
click to toggle source
# File lib/data.either.rb, line 235 def ==(other) case other when Left other.left_map { |v| return v == @v } else false end end
left?()
click to toggle source
always true @return [Boolean]
# File lib/data.either.rb, line 231 def left? true end