summaryrefslogtreecommitdiff
path: root/lib/irb/command/show_source.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/command/show_source.rb')
-rw-r--r--lib/irb/command/show_source.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/irb/command/show_source.rb b/lib/irb/command/show_source.rb
index c4c8fc0041..f4c6f104a2 100644
--- a/lib/irb/command/show_source.rb
+++ b/lib/irb/command/show_source.rb
@@ -7,6 +7,8 @@ require_relative "../color"
module IRB
module Command
class ShowSource < Base
+ include RubyArgsExtractor
+
category "Context"
description "Show the source code of a given method, class/module, or constant."