diff --git a/lib/pry/helpers/base_helpers.rb b/lib/pry/helpers/base_helpers.rb index 0c4108b3..12fa6b27 100644 --- a/lib/pry/helpers/base_helpers.rb +++ b/lib/pry/helpers/base_helpers.rb @@ -130,20 +130,6 @@ module Pry::Helpers::BaseHelpers Pry::Helpers::Platform.mri_2? end - @known_engines_warn = false - # @deprecated This will be removed in the next release. - def known_engines - unless @known_engines_warn - loc = caller_locations(1..1).first - warn( - "#{loc.path}:#{loc.lineno}: warning: BaseHelpers.#{__method__} is " \ - "deprecated and will be removed in the next Pry release" - ) - @known_engines_warn = true - end - [:jruby, :mri] - end - def silence_warnings old_verbose = $VERBOSE $VERBOSE = nil diff --git a/lib/pry/platform.rb b/lib/pry/platform.rb index 98a86efb..f2c45a1b 100644 --- a/lib/pry/platform.rb +++ b/lib/pry/platform.rb @@ -84,14 +84,6 @@ class Pry def mri_2? !!(mri? and RUBY_VERSION =~ /\A2/) end - - # - # @return [Array] - # Returns an Array of Ruby engines that Pry is known to run on. - # - def known_engines - [:jruby, :mri] - end end # Not supported on MRI 2.2 and lower.