Module: Bootsnap::CompileCache::YAML::EncodingAwareSymbols

Extended by:
EncodingAwareSymbols
Included in:
EncodingAwareSymbols
Defined in:
lib/bootsnap/compile_cache/yaml.rb

Instance Method Summary collapse

Instance Method Details

#unpack(payload) ⇒ Object



52
53
54
# File 'lib/bootsnap/compile_cache/yaml.rb', line 52

def unpack(payload)
  (+payload).force_encoding(Encoding::UTF_8).to_sym
end