module Bootsnap::CompileCache::ISeq::InstructionSequenceMixin

Public Instance Methods

compile_option=(hash) click to toggle source
Calls superclass method
# File lib/bootsnap/compile_cache/iseq.rb, line 193
def compile_option=(hash)
  super
  Bootsnap::CompileCache::ISeq.compile_option_updated
end
load_iseq(path) click to toggle source
# File lib/bootsnap/compile_cache/iseq.rb, line 184
def load_iseq(path)
  Bootsnap::CompileCache::ISeq.fetch(path.to_s)
rescue RuntimeError => error
  if error.message.include?("unmatched platform")
    puts("unmatched platform for file #{path}")
  end
  raise
end