module Bootsnap::CompileCache::ISeq::Compiler::PatchRubyBug22023

Public Instance Methods

compile_file(path, options = nil) click to toggle source
# File lib/bootsnap/compile_cache/iseq.rb, line 64
def compile_file(path, options = nil)
  compile_file_prism(path, options)
end
compile_file_prism(path, options = nil) click to toggle source
# File lib/bootsnap/compile_cache/iseq.rb, line 74
def compile_file_prism(path, options = nil)
  compile_prism(::File.read(path, encoding: Encoding::UTF_8), path, path, nil, options)
end