summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-01-04 23:11:02 -0300
committerGitHub <noreply@github.com>2022-01-04 23:11:02 -0300
commit8beab43027eb454adf1400dbfdb449b7d1e663f6 (patch)
treef6a7bbfa20627e398192bace9659d57650a8f0b9
parent3d35a474a54312bb448bd02403435a3f698a996b (diff)
parent1d35c8083e81f3e414bcb40419160d16b332b2de (diff)
downloadpry-8beab43027eb454adf1400dbfdb449b7d1e663f6.tar.gz
Merge pull request #2232 from stevecondylios/master
Reduce ambiguity in error message
-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