summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/fork.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/cmd/fork.rb')
-rw-r--r--lib/irb/cmd/fork.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb
index c266462..a3531d4 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