Module: Bootsnap::CompileCache::ISeq::Compiler::PatchRubyBug22023
- Included in:
- Bootsnap::CompileCache::ISeq::Compiler
- Defined in:
- lib/bootsnap/compile_cache/iseq.rb
Instance Method Summary collapse
Instance Method Details
#compile_file(path, options = nil) ⇒ Object
50 51 52 |
# File 'lib/bootsnap/compile_cache/iseq.rb', line 50 def compile_file(path, = nil) compile_file_prism(path, ) end |
#compile_file_prism(path, options = nil) ⇒ Object
60 61 62 |
# File 'lib/bootsnap/compile_cache/iseq.rb', line 60 def compile_file_prism(path, = nil) compile_prism(::File.read(path), path, path, nil, ) end |