class Ruby::Marshal::Hash
- Ruby::Marshal::Hash
- Ruby::Marshal::StreamObject
- Reference
- Object
Overview
For a Hash with a default value, the default value follows all the pairs.
Direct Known Subclasses
Defined in:
ruby-marshal/stream_objects/hash.crConstructors
Macro Summary
Instance Method Summary
- #[](requested_key : ::String)
- #[](requested_key : Int32)
- #data : Hash(Ruby::Marshal::StreamObject, Ruby::Marshal::StreamObject)
- #default_value : Ruby::Marshal::StreamObject
- #each(&)
- #raw_hash : ::Hash(RawHashObjects, RawHashObjects)
-
#read(stream : Bytes)
instantiate the class if it exists and assign to @data