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
class
Therapy::Int32Type
Therapy::Int32Type
Therapy::BaseType(Int32)
Reference
Object
Defined in:
therapy/int32_type.cr
Instance Method Summary
#max
(max : Int32) :
self
#min
(min : Int32) :
self
Instance methods inherited from class
Therapy::BaseType(Int32)
coercing :
self
coercing
,
create_subcontext(parent : ParseContext, input : V, path) : ParseContext(T, V) forall V
create_subcontext
,
optional : OptionalType(T)
optional
,
parse(input : V) : Result(T) forall V
parse
,
parse!(input) : T
parse!
Instance Method Detail
def
max
(max : Int32) :
self
#
[
View source
]
def
min
(min : Int32) :
self
#
[
View source
]