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:
parent
c189da1ea5
commit
ad892d78c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue