From 622b522047ea7bdb716ec87131d08400ba41e8b7 Mon Sep 17 00:00:00 2001 From: keiju Date: Wed, 13 Apr 2005 15:27:09 +0000 Subject: * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/ext/change-ws.rb | 4 ++-- lib/irb/ext/history.rb | 10 +++++----- lib/irb/ext/loader.rb | 15 +++++++++++++++ lib/irb/ext/math-mode.rb | 4 ++-- lib/irb/ext/multi-irb.rb | 4 ++-- lib/irb/ext/tracer.rb | 4 ++-- lib/irb/ext/use-loader.rb | 4 ++-- lib/irb/ext/workspaces.rb | 4 ++-- 8 files changed, 32 insertions(+), 17 deletions(-) (limited to 'lib/irb/ext') diff --git a/lib/irb/ext/change-ws.rb b/lib/irb/ext/change-ws.rb index f15391e202..fff8f58fe5 100644 --- a/lib/irb/ext/change-ws.rb +++ b/lib/irb/ext/change-ws.rb @@ -1,9 +1,9 @@ # # irb/ext/cb.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # diff --git a/lib/irb/ext/history.rb b/lib/irb/ext/history.rb index 55cd56de2f..1e978181ae 100644 --- a/lib/irb/ext/history.rb +++ b/lib/irb/ext/history.rb @@ -1,9 +1,9 @@ # # history.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # @@ -21,8 +21,8 @@ module IRB def set_last_value(value) _set_last_value(value) - @workspace.evaluate self, "_ = IRB.CurrentContext.last_value" - if (@eval_history ||= nil) #and !@eval_history_values.equal?(llv) +# @workspace.evaluate self, "_ = IRB.CurrentContext.last_value" + if @eval_history #and !@eval_history_values.equal?(llv) @eval_history_values.push @line_no, @last_value @workspace.evaluate self, "__ = IRB.CurrentContext.instance_eval{@eval_history_values}" end @@ -33,7 +33,7 @@ module IRB attr_reader :eval_history def eval_history=(no) if no - if (@eval_history ||= nil) + if @eval_history @eval_history_values.size(no) else @eval_history_values = History.new(no) diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb index 26e36e1209..ac8cc6d745 100644 --- a/lib/irb/ext/loader.rb +++ b/lib/irb/ext/loader.rb @@ -1,3 +1,18 @@ +# +# loader.rb - +# $Release Version: 0.9.5$ +# $Revision$ +# $Date$ +# by Keiju ISHITSUKA(keiju@ruby-lang.org) +# +# -- +# +# +# + +@RCS_ID='-$Id$-' + + module IRB class LoadAbort < Exception;end diff --git a/lib/irb/ext/math-mode.rb b/lib/irb/ext/math-mode.rb index 5e268bb3e5..bd443b96ed 100644 --- a/lib/irb/ext/math-mode.rb +++ b/lib/irb/ext/math-mode.rb @@ -1,9 +1,9 @@ # # math-mode.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # diff --git a/lib/irb/ext/multi-irb.rb b/lib/irb/ext/multi-irb.rb index e815889383..4589b1d554 100644 --- a/lib/irb/ext/multi-irb.rb +++ b/lib/irb/ext/multi-irb.rb @@ -1,9 +1,9 @@ # # irb/multi-irb.rb - multiple irb module -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(keiju@ishitsuka.com) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # diff --git a/lib/irb/ext/tracer.rb b/lib/irb/ext/tracer.rb index b2528f74b2..805f630a4d 100644 --- a/lib/irb/ext/tracer.rb +++ b/lib/irb/ext/tracer.rb @@ -1,9 +1,9 @@ # # irb/lib/tracer.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # diff --git a/lib/irb/ext/use-loader.rb b/lib/irb/ext/use-loader.rb index a81b3aca7b..1b4d480fcd 100644 --- a/lib/irb/ext/use-loader.rb +++ b/lib/irb/ext/use-loader.rb @@ -1,9 +1,9 @@ # # use-loader.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # diff --git a/lib/irb/ext/workspaces.rb b/lib/irb/ext/workspaces.rb index 2fe8f8a87b..79098570dc 100644 --- a/lib/irb/ext/workspaces.rb +++ b/lib/irb/ext/workspaces.rb @@ -1,9 +1,9 @@ # # push-ws.rb - -# $Release Version: 0.9$ +# $Release Version: 0.9.5$ # $Revision$ # $Date$ -# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) +# by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # -- cgit v1.2.3