summaryrefslogtreecommitdiff
path: root/lib/irb/command/whereami.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/command/whereami.rb')
-rw-r--r--lib/irb/command/whereami.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/command/whereami.rb b/lib/irb/command/whereami.rb
index d6658d7043..c8439f1212 100644
--- a/lib/irb/command/whereami.rb
+++ b/lib/irb/command/whereami.rb
@@ -8,7 +8,7 @@ module IRB
category "Context"
description "Show the source code around binding.irb again."
- def execute(*)
+ def execute(_arg)
code = irb_context.workspace.code_around_binding
if code
puts code