From ce7c263fb621099b1aaed1018e56fd7dd7dee258 Mon Sep 17 00:00:00 2001 From: keiju Date: Thu, 14 Apr 2005 09:58:18 +0000 Subject: * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745] * lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb: fix location of @RCS_ID * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/ext/loader.rb | 3 +-- lib/irb/ext/save-history.rb | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/irb/ext') diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb index ac8cc6d745..837e2553ac 100644 --- a/lib/irb/ext/loader.rb +++ b/lib/irb/ext/loader.rb @@ -10,14 +10,13 @@ # # -@RCS_ID='-$Id$-' - module IRB class LoadAbort < Exception;end module IrbLoader @RCS_ID='-$Id$-' + alias ruby_load load alias ruby_require require diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 95ef71b5c1..5260bfcdd8 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -11,11 +11,13 @@ # # -@RCS_ID='-$Id$-' - require "readline" module IRB + module HistorySavingAbility + @RCS_ID='-$Id$-' + end + class Context def init_save_history unless (class<<@io;self;end).include?(HistorySavingAbility) -- cgit v1.2.3