crystalizer
master
Crystalizer
Any
Error
ByteFormat
Error
Deserializer
NamedTuple
Error
NonSelfDescribingObject
Object
Error
SelfDescribingObject
Field
JSON
Any
Error
Type
Error
Object
Variable
YAML
Any
Error
Type
Error
struct
Crystalizer::Variable(T, A)
Crystalizer::Variable(T, A)
Struct
Value
Object
Overview
Holds variable metadata with its annotations.
Defined in:
variable.cr
Constructors
.new
(type :
T
.
class
, annotations : A, nilable : Bool, has_default : Bool)
Instance Method Summary
#annotations
: A
#has_default
: Bool
#nilable
: Bool
#type
:
T
.
class
Constructor Detail
def self.
new
(type :
T
.
class
, annotations : A, nilable : Bool, has_default : Bool)
#
[
View source
]
Instance Method Detail
def
annotations
: A
#
[
View source
]
def
has_default
: Bool
#
[
View source
]
def
nilable
: Bool
#
[
View source
]
def
type
:
T
.
class
#
[
View source
]