summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Condylios <steve.condylios@gmail.com>2022-01-05 12:07:40 +1100
committerSteve Condylios <steve.condylios@gmail.com>2022-01-05 12:07:40 +1100
commit46e814956d3d66a9f3f83aacb5347ab406f39f68 (patch)
treef6a7bbfa20627e398192bace9659d57650a8f0b9 /lib
parent8848fd174a78459131f49579b15ee270f428c2f7 (diff)
downloadpry-46e814956d3d66a9f3f83aacb5347ab406f39f68.tar.gz
Add backticks to error message to reduce ambiguity
Diffstat (limited to 'lib')
-rw-r--r--lib/pry/method.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pry/method.rb b/lib/pry/method.rb
index b0237f6c..c82ae355 100644
--- a/lib/pry/method.rb
+++ b/lib/pry/method.rb
@@ -530,9 +530,9 @@ class Pry
else
fail_msg = "Cannot locate this method: #{name}."
if Helpers::Platform.mri?
- fail_msg += " Run 'gem install pry-doc' to install" \
+ fail_msg += " Run `gem install pry-doc` to install" \
" Ruby Core documentation," \
- " and 'require pry-doc' to load it.\n"
+ " and `require 'pry-doc'` to load it.\n"
end
raise CommandError, fail_msg
end