diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-05 07:37:47 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-05 07:37:47 +0000 |
commit | c3749b6a6da86243ca16ed058216114e71c184f3 (patch) | |
tree | db06109ff283e6a9abc0ffa7f905598aa106b61d /lib/irb/cmd/fork.rb | |
parent | 0e68c46e2dc4ae6603f9dd53a2048c6d8bddea10 (diff) | |
download | ruby-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/irb/cmd/fork.rb')
-rw-r--r-- | lib/irb/cmd/fork.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb index c2664626ae..a3531d4299 100644 --- a/lib/irb/cmd/fork.rb +++ b/lib/irb/cmd/fork.rb @@ -15,7 +15,7 @@ module IRB module ExtendCommand class Fork<Nop - def execute(&block) + def execute pid = send ExtendCommand.irb_original_method_name("fork") unless pid class << self |