lib/irb/command/whereami.rb in irb-1.12.0 vs lib/irb/command/whereami.rb in irb-1.13.0
- old
+ new
@@ -6,10 +6,10 @@
module Command
class Whereami < Base
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
else
puts "The current context doesn't have code."