CrystalMonads::Either::Right(T)
Inherits CrystalMonads::Either < Reference < Object
Constructors
new(value : T)
SourceInstance methods
bind(*args, &block : T -> _)
Sourcebind(proc : Proc, *args)
Sourcefmap(*args, &block : T -> _)
Sourcefmap(*args)
Sourceor(proc : Proc, *args) : Right(T)
Sourceor(*args, &block : T -> _) : Right(T)
Sourceto_maybe
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.