MessagePack::Any
A wrapper around a MessagePack object with convenience methods for type conversions
Constructors
new(pull : MessagePack::Unpacker)
Sourcenew(raw : MessagePack::Type)
SourceInstance methods
==(*args, **options)
Source==(*args, **options, &)
Source[](key : Type) : Any
Source[]?(key : Type) : Any | Nil
Sourceas_i
Sourceas_i?
Sourceas_u
Sourceas_u?
Sourceclone
Sourcedig(key : Type)
Sourcedig(key : Type, *subkeys)
Sourcedig?(key : Type, *subkeys)
Sourcedup
Returns a shallow copy of this object.
Because Value is a value type, this method returns self,
which already involves a shallow copy of this object because
value types are passed by value.
each
Sourceinspect(*args, **options)
Sourceinspect(*args, **options, &)
Sourceraw
Sourcesize
Sourceto_msgpack(packer : MessagePack::Packer)
Sourceto_s(*args, **options)
Sourceto_s(*args, **options, &)
SourceMacros
method_missing(call)
Source