aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-05 07:37:47 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-05 07:37:47 +0000
commitc3749b6a6da86243ca16ed058216114e71c184f3 (patch)
treedb06109ff283e6a9abc0ffa7f905598aa106b61d /lib/shell/command-processor.rb
parent0e68c46e2dc4ae6603f9dd53a2048c6d8bddea10 (diff)
downloadruby-c3749b6a6da86243ca16ed058216114e71c184f3.tar.gz
* ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb,
ext/tk/sample/demos-en/widget, lib/benchmark.rb, lib/irb/cmd/fork.rb, lib/mkmf.rb, lib/net/ftp.rb, lib/net/smtp.rb, lib/open3.rb, lib/pstore.rb, lib/rexml/element.rb, lib/rexml/light/node.rb, lib/rinda/tuplespace.rb, lib/rss/maker/base.rb, lib/rss/maker/entry.rb, lib/scanf.rb, lib/set.rb, lib/shell.rb, lib/shell/command-processor.rb, lib/shell/process-controller.rb, lib/shell/system-command.rb, lib/uri/common.rb: remove unused block arguments to avoid creating Proc objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/command-processor.rb')
-rw-r--r--lib/shell/command-processor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index ae157eba5c..da7fecf1d5 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -335,7 +335,7 @@ class Shell
end
# %pwd, %cwd -> @pwd
- def notify(*opts, &block)
+ def notify(*opts)
Shell.notify(*opts) {|mes|
yield mes if iterator?
@@ -407,7 +407,7 @@ class Shell
def self.alias_map
@alias_map
end
- def self.alias_command(ali, command, *opts, &block)
+ def self.alias_command(ali, command, *opts)
ali = ali.id2name if ali.kind_of?(Symbol)
command = command.id2name if command.kind_of?(Symbol)
begin