class

Ruby::Marshal::HashWithDefault

Inherits Ruby::Marshal::Hash < Ruby::Marshal::StreamObject < Reference < Object

For a Hash with a default value, the default value follows all the pairs.

Constructors

new(stream : Bytes)
Source

Instance methods

read(stream : Bytes)

instantiate the class if it exists and assign to @data

Source