Top Level Namespace
- Includes:
- Sorbet::Eraser::Patch
Defined Under Namespace
Modules: Sorbet, T Classes: String
Class Method Summary collapse
-
.load_iseq(filepath) ⇒ Object
Otherwise if the method isn’t defined by bootsnap, then we’ll define it ourselves.
Methods included from Sorbet::Eraser::Patch
Class Method Details
.load_iseq(filepath) ⇒ Object
Otherwise if the method isn’t defined by bootsnap, then we’ll define it ourselves.
18 19 20 21 |
# File 'lib/sorbet/eraser/autoload.rb', line 18 def (RubyVM::InstructionSequence).load_iseq(filepath) erased = Sorbet::Eraser.erase_filepath(filepath) RubyVM::InstructionSequence.compile(erased, filepath, filepath) end |