summaryrefslogtreecommitdiff
path: root/lib/irb/ext/multi-irb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/ext/multi-irb.rb')
-rw-r--r--lib/irb/ext/multi-irb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb/ext/multi-irb.rb b/lib/irb/ext/multi-irb.rb
index 0152d38ffd..a8475b75cd 100644
--- a/lib/irb/ext/multi-irb.rb
+++ b/lib/irb/ext/multi-irb.rb
@@ -29,12 +29,12 @@ module IRB
end
def thread(key)
- th, irb = search(key)
+ th, = search(key)
th
end
def irb(key)
- th, irb = search(key)
+ _, irb = search(key)
irb
end
@@ -62,7 +62,7 @@ module IRB
def kill(*keys)
for key in keys
- th, irb = search(key)
+ th, _ = search(key)
IRB.fail IrbAlreadyDead unless th.alive?
th.exit
end