module Bootsnap::CompileCache::YAML::Psych4

Public Instance Methods

input_to_storage(contents, _) click to toggle source
# File lib/bootsnap/compile_cache/yaml.rb, line 142
def input_to_storage(contents, _)
  obj = SafeLoad.input_to_storage(contents, nil)
  if UNCOMPILABLE.equal?(obj)
    obj = UnsafeLoad.input_to_storage(contents, nil)
  end
  obj
end