mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Correct condition for 1.8ness
This commit is contained in:
parent
c30550df26
commit
fa6791eb56
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ require 'helper'
|
|||
# methods (in an attempt to find a match) it runs 'exit' and aborts
|
||||
# the test, causing a failure. We should fix this in the future by
|
||||
# blacklisting certain methods for 1.8 MRI (such as exit, fork, and so on)
|
||||
if !(RUBY_VERSION["1.8"] && !defined?(RUBY_ENGINE))
|
||||
unless Pry::Helpers::BaseHelpers.mri_18?
|
||||
MyKlass = Class.new do
|
||||
def hello
|
||||
"timothy"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue