class JoyUtil::SafeBox

Defined in:

joy_util.cr

Constructors

Instance Method Summary

Constructor Detail

def self.box(object : T) : SafeBox forall T #

[View source]

Instance Method Detail

def unbox(clazz : T.class) : T forall T #

[View source]
def unbox?(clazz : T.class) : T | Nil forall T #

[View source]