diff options
Diffstat (limited to 'lib/pry')
-rw-r--r-- | lib/pry/helpers/platform.rb | 5 | ||||
-rw-r--r-- | lib/pry/repl.rb | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/pry/helpers/platform.rb b/lib/pry/helpers/platform.rb index 3af4d3f7..632e71d4 100644 --- a/lib/pry/helpers/platform.rb +++ b/lib/pry/helpers/platform.rb @@ -47,11 +47,6 @@ class Pry end # @return [Boolean] - def self.mri_19? - mri? && RUBY_VERSION.start_with?('1.9') - end - - # @return [Boolean] def self.mri_2? mri? && RUBY_VERSION.start_with?('2') end diff --git a/lib/pry/repl.rb b/lib/pry/repl.rb index ba032c7f..9a58b827 100644 --- a/lib/pry/repl.rb +++ b/lib/pry/repl.rb @@ -141,8 +141,7 @@ class Pry retry # Handle <Ctrl+C> like Bash: empty the current input buffer, but don't - # quit. This is only for MRI 1.9; other versions of Ruby don't let you - # send Interrupt from within Readline. + # quit. rescue Interrupt return :control_c |