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.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/irb/command/whereami.rb b/lib/irb/command/whereami.rb
deleted file mode 100644
index d6658d7043..0000000000
--- a/lib/irb/command/whereami.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-module IRB
- # :stopdoc:
-
- module Command
- class Whereami < Base
- category "Context"
- description "Show the source code around binding.irb again."
-
- def execute(*)
- code = irb_context.workspace.code_around_binding
- if code
- puts code
- else
- puts "The current context doesn't have code."
- end
- end
- end
- end
-
- # :startdoc:
-end