From 8cde57f55a5a580f35bd4487515dbc9d88ea2090 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sun, 5 May 2024 18:44:49 +0800 Subject: [PATCH] Clarify that the context is IRB context (#950) --- 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 460f5ab78..718ed279c 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 df3753dae..b34832b02 100644 --- a/test/irb/command/test_help.rb +++ b/test/irb/command/test_help.rb @@ -69,7 +69,7 @@ def test_help_lists_helper_methods 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