# File wmiish, line 32 def IRB.start_session aContextObj IRB.setup __FILE__ unless defined? $irb ws = WorkSpace.new(aContextObj) $irb = if @CONF[:SCRIPT] # normally, set by parse_opts Irb.new ws, @CONF[:SCRIPT] else Irb.new ws end @CONF[:IRB_RC].call($irb.context) if @CONF[:IRB_RC] @CONF[:MAIN_CONTEXT] = $irb.context trap 'INT' do $irb.signal_handle end custom_configuration if defined? IRB.custom_configuration catch :IRB_EXIT do $irb.eval_input end end