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::
Left(L)
CA::Left(L)
Struct
Value
Object
Defined in:
clean-architectures/either.cr
Constructors
.new
(value : L)
Instance Method Summary
#is_left?
#is_right?
#value
: L
#value=
(value : L)
Constructor Detail
def self.
new
(value : L)
#
[
View source
]
Instance Method Detail
def
is_left?
#
[
View source
]
def
is_right?
#
[
View source
]
def
value
: L
#
[
View source
]
def
value=
(value : L)
#
[
View source
]