summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/whereami.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/cmd/whereami.rb')
-rw-r--r--lib/irb/cmd/whereami.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/irb/cmd/whereami.rb b/lib/irb/cmd/whereami.rb
index b8c7e047fa..8f56ba073d 100644
--- a/lib/irb/cmd/whereami.rb
+++ b/lib/irb/cmd/whereami.rb
@@ -7,6 +7,9 @@ module IRB
module ExtendCommand
class Whereami < Nop
+ category "Context"
+ description "Show the source code around binding.irb again."
+
def execute(*)
code = irb_context.workspace.code_around_binding
if code