Module: Sorbet::Eraser::Patch

Defined in:
lib/sorbet/eraser/autoload.rb

Overview

If the load_iseq method is defined by bootsnap, then we need to override it.

Instance Method Summary collapse

Instance Method Details

#input_to_storage(contents, filepath) ⇒ Object



9
10
11
# File 'lib/sorbet/eraser/autoload.rb', line 9

def input_to_storage(contents, filepath)
  super(Sorbet::Eraser.erase(contents), filepath)
end