Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
therapy
main
Therapy
ArrayType
BaseType
BoolType
Check
Error
Int32Type
ObjectType
OptionalType
ParseContext
Result
Failure
Success
StringType
SubContext
TupleType
Built with Crystal 1.9.2
2023-10-07 18:06:28 UTC
module
Therapy
Defined in:
therapy.cr
therapy/result.cr
Class Method Summary
.array
(of validator : BaseType(T)) forall T
.bool
: BoolType
.int32
: Int32Type
.object
(**options : **T) forall T
.string
: StringType
.tuple
(*options :
*
T
) forall T
Class Method Detail
def self.
array
(of validator :
BaseType
(T)) forall T
#
[
View source
]
def self.
bool
:
BoolType
#
[
View source
]
def self.
int32
:
Int32Type
#
[
View source
]
def self.
object
(**options : **T) forall T
#
[
View source
]
def self.
string
:
StringType
#
[
View source
]
def self.
tuple
(*options :
*
T
) forall T
#
[
View source
]