summaryrefslogtreecommitdiff
path: root/lib/irb/extend-command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/extend-command.rb')
-rw-r--r--lib/irb/extend-command.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb
index 190c49ae78..3f37d39950 100644
--- a/lib/irb/extend-command.rb
+++ b/lib/irb/extend-command.rb
@@ -8,7 +8,7 @@
#
#
#
-module IRB
+module IRB # :nodoc:
#
# IRB extended command
#
@@ -23,6 +23,9 @@ module IRB
irb_context.exit(ret)
end
+ # Displays current configuration.
+ #
+ # Modifing the configuration is achieved by sending a message to IRB.conf.
def irb_context
IRB.CurrentContext
end