Top Level Namespace

Defined Under Namespace

Modules: Sorbet, T Classes: String

Class Method Summary collapse

Methods included from Sorbet::Eraser::Patch

#input_to_storage

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