summaryrefslogtreecommitdiffstats
path: root/lib/irb/ext
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-14 09:58:18 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-14 09:58:18 +0000
commit176e8f6b22a59659424a3d76dc7595411fba6bea (patch)
treec393f23305c8aa2a61374c9d44b4c3d089e406c2 /lib/irb/ext
parent4a9e592e15bc1df3df328d0b05e923a46957909e (diff)
downloadruby-176e8f6b22a59659424a3d76dc7595411fba6bea.tar.gz
ruby-176e8f6b22a59659424a3d76dc7595411fba6bea.tar.xz
ruby-176e8f6b22a59659424a3d76dc7595411fba6bea.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@8329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/ext')
-rw-r--r--lib/irb/ext/loader.rb3
-rw-r--r--lib/irb/ext/save-history.rb6
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb
index ac8cc6d74..837e2553a 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 95ef71b5c..5260bfcdd 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)