# # irb/extend-command.rb - irb command extend # $Release Version: 0.7.3$ # $Revision$ # $Date$ # by Keiju ISHITSUKA(keiju@ishitsuka.com) # # -- # # # module IRB # # IRB extended command # (JP: IRB拡張コマンド) # module ExtendCommand # include Loader def irb_exit(ret = 0) irb_context.exit(ret) end alias irb_quit irb_exit def irb_fork(&block) pid = send ExtendCommand.irb_original_method_name("fork") unless pid class<