Actions
Bug #15572
closed`RubyVM::InstructionSequence` doesn't work with `extend`.
    Bug #15572:
    `RubyVM::InstructionSequence` doesn't work with `extend`.
  
Description
For some reason,RubyVM::InstructionSequence.extend doesn't seem to work as expected.
module Loader
  def load_iseq(path)
    puts path
    return compile_file(path)
  end
end
# This doesn't work?
# RubyVM::InstructionSequence.extend(Loader)
# This works:
class << RubyVM::InstructionSequence
  prepend Loader
end
  
Actions