Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
clean-architectures
master
CA
Adapter
AssertionError
ConfigValue
ControllerExtensions
Error
ErrorBody
Left
Repository
Right
Service
Built with Crystal 1.10.0
2023-12-15 17:41:53 UTC
struct
CA::
Right(R)
CA::Right(R)
Struct
Value
Object
Defined in:
clean-architectures/either.cr
Constructors
.new
(value : R)
Instance Method Summary
#is_left?
#is_right?
#value
: R
#value=
(value : R)
Constructor Detail
def self.
new
(value : R)
#
[
View source
]
Instance Method Detail
def
is_left?
#
[
View source
]
def
is_right?
#
[
View source
]
def
value
: R
#
[
View source
]
def
value=
(value : R)
#
[
View source
]