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