class Either::Right
Public Instance Methods
left?()
click to toggle source
# File lib/trither/either.rb, line 58 def left? false end
left_flat_map()
click to toggle source
# File lib/trither/either.rb, line 83 def left_flat_map self end
left_map()
click to toggle source
# File lib/trither/either.rb, line 73 def left_map self end
right()
click to toggle source
# File lib/trither/either.rb, line 68 def right @value end
right?()
click to toggle source
# File lib/trither/either.rb, line 63 def right? true end
right_flat_map() { |value| ... }
click to toggle source
# File lib/trither/either.rb, line 88 def right_flat_map yield @value end
right_map() { |value)| ... }
click to toggle source
# File lib/trither/either.rb, line 78 def right_map Right.new(yield @value) end