Bug #2599: shell/command-processor.rb e$B$Ke(B typo
http://redmine.ruby-lang.org/issues/show/2599
e$B5/I<<Te(B: Sho H.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.9.2dev (2009-12-06 trunk 26025) [i686-linux]
shell/command-processor.rb e$B$Ke(B typo e$B$,$"$k$h$&$G$9!#e(B
— lib/shell/command-processor.rb (revision 26303)
+++ lib/shell/command-processor.rb (working copy)
@@ -520,7 +520,7 @@
id = id.intern if id.kind_of?(String)
name = id.id2name
if Shell.method_defined?(id)
-
Shell.notify "warn: override definnition of Shell##{name}."
-
Shell.notify "warn: override definition of Shell##{name}." Shell.notify "warn: alias Shell##{name} to Shell##{name}_org.\n" Shell.module_eval "alias #{name}_org #{name}" end
@@ -536,7 +536,7 @@
end], FILE, LINE)
if Shell::Filter.method_defined?(id)
-
Shell.notify "warn: override definnition of
Shell::Filter##{name}."
-
Shell.notify "warn: override definition of
Shell::Filter##{name}."
Shell.notify “warn: alias Shell##{name} to
Shell::Filter##{name}_org.”
Filter.module_eval “alias #{name}_org #{name}”
end