Include this mixin to access convenient factory methods.
include Fear::Either::Mixin Right('flower') #=> #<Fear::Right value='flower'> Left('beaf') #=> #<Fear::Legt value='beaf'>
Parameters:
Returns:
254 255 256
# File 'lib/fear/either.rb', line 254 def Left(value) Left.new(value) end
260 261 262
# File 'lib/fear/either.rb', line 260 def Right(value) Right.new(value) end