summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-01-19 16:03:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-03-26 08:41:51 +0900
commitf589793531b9b8c87a20bc73d8698d804ec7b531 (patch)
treee7fe76810ac151e3ab47cb7d46d0bb9cdd787bdd
parent6a7e3cb5fac3137ad212db8ab3388656937a4451 (diff)
[ruby/pstore] Do not include a backtick in error messages and backtraces
[Feature #16495] https://github.com/ruby/pstore/commit/6be4e72a66
-rw-r--r--lib/pstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index dd37f4950a..ee9e6f8914 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -437,7 +437,7 @@ class PStore
in_transaction
unless @table.key? key
if default == PStore::Error
- raise PStore::Error, format("undefined key `%s'", key)
+ raise PStore::Error, format("undefined key '%s'", key)
else
return default
end