Sha256: 8d5ef34df4e769fc4969880f8811caded614cc0d97f0e7cca717bc48f5a8e71b

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

module Kernel
  def irb
    require 'irb'
    IRB.setup(nil)
    irb = IRB::Irb.new(IRB::WorkSpace.new(binding))
    IRB.conf[:MAIN_CONTEXT] = irb.context
    catch(:IRB_EXIT) do
      irb.eval_input
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
irby-1.0.0 lib/irby.rb