summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2024-05-05 18:44:49 +0800
committergit <svn-admin@ruby-lang.org>2024-05-05 10:44:52 +0000
commite973f9cbb38668c61084481b35ae8c1d63be74b6 (patch)
tree8d6fe35a5e1fbbffad32fb73305b6277033affe4
parent7d42010fad4be2dbb26bd7608a75aa1c51d5f9ef (diff)
[ruby/irb] Clarify that the context is IRB context
(https://github.com/ruby/irb/pull/950) https://github.com/ruby/irb/commit/8cde57f55a
-rw-r--r--lib/irb/helper_method/conf.rb2
-rw-r--r--test/irb/command/test_help.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/helper_method/conf.rb b/lib/irb/helper_method/conf.rb
index 460f5ab78a..718ed279c0 100644
--- a/lib/irb/helper_method/conf.rb
+++ b/lib/irb/helper_method/conf.rb
@@ -1,7 +1,7 @@
module IRB
module HelperMethod
class Conf < Base
- description "Returns the current context."
+ description "Returns the current IRB context."
def execute
IRB.CurrentContext
diff --git a/test/irb/command/test_help.rb b/test/irb/command/test_help.rb
index df3753dae7..b34832b022 100644
--- a/test/irb/command/test_help.rb
+++ b/test/irb/command/test_help.rb
@@ -69,7 +69,7 @@ module TestIRB
type "exit"
end
- assert_match(/Helper methods\s+conf\s+Returns the current context/, out)
+ assert_match(/Helper methods\s+conf\s+Returns the current IRB context/, out)
end
end
end