require'irb'require'irb/completion'classClazzdefstart_irbIRB.setupnilIRB.conf[:MAIN_CONTEXT]=IRB::Irb.new.contextIRB.conf[:PROMPT_MODE]=:SIMPLE#puts this line outside this method will not workrequire'irb/ext/multi-irb'#clear parameterARGV.clearIRB.irbnil,self#<--- pass contextendend