1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ktsj 2011-11-05 07:37:47 +00:00
parent 0e68c46e2d
commit c3749b6a6d
23 changed files with 48 additions and 36 deletions

View file

@ -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