diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-11-03 18:30:52 +0800 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2018-11-03 18:30:52 +0800 |
commit | f47120f53870ccf883a1545ae74493046d6f4466 (patch) | |
tree | 4d866c284bcc75cd4eeb30d706b1800e1540b6d9 | |
parent | f3178557389498d4dac809e1abaece339fc35f09 (diff) | |
download | pry-f47120f53870ccf883a1545ae74493046d6f4466.tar.gz |
method: update deprecated method call
-rw-r--r-- | lib/pry/method.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/method.rb b/lib/pry/method.rb index 2c09c92f..0bc2679d 100644 --- a/lib/pry/method.rb +++ b/lib/pry/method.rb @@ -489,7 +489,7 @@ class Pry Pry::MethodInfo.info_for(@method) or raise CommandError, "Cannot locate this method: #{name}. (source_location returns nil)" else fail_msg = "Cannot locate this method: #{name}." - if mri? + if Helpers::Platform.mri? fail_msg += " Invoke the 'gem-install pry-doc' Pry command to get access to Ruby Core documentation.\n" end raise CommandError, fail_msg |