diff options
author | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-01-04 23:11:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 23:11:02 -0300 |
commit | 8beab43027eb454adf1400dbfdb449b7d1e663f6 (patch) | |
tree | f6a7bbfa20627e398192bace9659d57650a8f0b9 | |
parent | 3d35a474a54312bb448bd02403435a3f698a996b (diff) | |
parent | 1d35c8083e81f3e414bcb40419160d16b332b2de (diff) | |
download | pry-8beab43027eb454adf1400dbfdb449b7d1e663f6.tar.gz |
Merge pull request #2232 from stevecondylios/master
Reduce ambiguity in error message
-rw-r--r-- | lib/pry/method.rb | 4 |
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 |