From e973f9cbb38668c61084481b35ae8c1d63be74b6 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sun, 5 May 2024 18:44:49 +0800 Subject: [PATCH] [ruby/irb] Clarify that the context is IRB context (https://github.com/ruby/irb/pull/950) https://github.com/ruby/irb/commit/8cde57f55a --- lib/irb/helper_method/conf.rb | 2 +- test/irb/command/test_help.rb | 2 +- 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