1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

method: clarify the fail message

Fixes #1431 (Error message typo. ("gem-install"))
This commit is contained in:
Kyrylo Silin 2015-06-16 20:52:42 +03:00
parent c189da1ea5
commit ad892d78c5

View file

@ -484,7 +484,7 @@ class Pry
else
fail_msg = "Cannot locate this method: #{name}."
if mri?
fail_msg += " Try 'gem-install pry-doc' to get access to Ruby Core documentation."
fail_msg += " Invoke the 'gem-install pry-doc' Pry command to get access to Ruby Core documentation.\n"
end
raise CommandError, fail_msg
end