class JoyUtil::SafeBox
Defined in:
joy_util.cr
Constructors
Instance Method Summary
Constructor Detail
def self.
box(object : T) :
SafeBox forall T
#
Instance Method Detail
def
unbox(clazz :
T.
class) : T forall T
#
def
unbox?(clazz :
T.
class) : T | Nil forall T
#