From 46e814956d3d66a9f3f83aacb5347ab406f39f68 Mon Sep 17 00:00:00 2001 From: Steve Condylios Date: Wed, 5 Jan 2022 12:07:40 +1100 Subject: Add backticks to error message to reduce ambiguity --- lib/pry/method.rb | 4 ++-- 1 file 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 -- cgit v1.2.1