method

run

v2_6_3 - Show latest stable - Class: IRB::Irb
run(conf = IRB.conf)
public

No documentation available.

# File lib/irb.rb, line 418
    def run(conf = IRB.conf)
      conf[:IRB_RC].call(context) if conf[:IRB_RC]
      conf[:MAIN_CONTEXT] = context

      trap("SIGINT") do
        signal_handle
      end

      begin
        catch(:IRB_EXIT) do
          eval_input
        end
      ensure
        conf[:AT_EXIT].each{|hook| hook.call}
      end
    end