From eaf4705a84a1501da111808d5aa1428e1f36cd81 Mon Sep 17 00:00:00 2001 From: Ryan Fitzgerald Date: Sat, 22 Oct 2011 01:18:04 -0700 Subject: [PATCH] stop lying --- lib/pry/method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/method.rb b/lib/pry/method.rb index 5fc66daa..b2005865 100644 --- a/lib/pry/method.rb +++ b/lib/pry/method.rb @@ -363,7 +363,7 @@ class Pry # @raise [CommandError] Raises when the method can't be found or `pry-doc` isn't installed. def pry_doc_info if Pry.config.has_pry_doc - Pry::MethodInfo.info_for(@method) or raise CommandError, "Cannot find C method: #{name}." + Pry::MethodInfo.info_for(@method) or raise CommandError, "Cannot locate this method: #{name}." else raise CommandError, "Cannot locate this method: #{name}. Try `gem install pry-doc` to get access to Ruby Core documentation." end