diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-12-31 04:11:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-31 04:11:10 +0800 |
commit | c4cc4ed20fc5ac89d4aabe68b40399f1b05951a6 (patch) | |
tree | 0b617cc1044bababbe01e3dbaeb48dd06139e1a0 | |
parent | 14a0273eee13752edb43b02c13a651423bc028c6 (diff) | |
parent | dfb0320241ee17f4fcae86837cd96ceda805e004 (diff) | |
download | pry-v0.12.x.tar.gz |
Merge pull request #1918 from havenwood/patch-1v0.12.x
Fix a deprecation warnings typo
-rw-r--r-- | lib/pry/helpers/base_helpers.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/pry/helpers/base_helpers.rb b/lib/pry/helpers/base_helpers.rb index b9b5df34..23be301c 100644 --- a/lib/pry/helpers/base_helpers.rb +++ b/lib/pry/helpers/base_helpers.rb @@ -11,7 +11,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @mac_osx_warn = true end @@ -25,7 +25,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @linux_warn = true end @@ -39,7 +39,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @windows_warn = true end @@ -53,7 +53,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @windows_ansi_warn = true end @@ -81,7 +81,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @jruby19_warn = true end @@ -95,7 +95,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @mri_warn = true end @@ -109,7 +109,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @mri19_warn = true end @@ -123,7 +123,7 @@ module Pry::Helpers::BaseHelpers loc = caller_locations(1..1).first warn( "#{loc.path}:#{loc.lineno}: warning: method BaseHelpers##{__method__} " \ - "is deprecated. Use Pry:Helpers::Platform.#{__method__} instead" + "is deprecated. Use Pry::Helpers::Platform.#{__method__} instead" ) @mri2_warn = true end |