1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib
Kyrylo Silin be870b780d exceptions: check if $SAFE is supported by Ruby
Fixes #2099 ($SAFE will become a normal global variable in Ruby 3.0)

MRI < 2.7 supports `$SAFE` variable, which is associated with
taint/untaint methods. All of that is deprecated in 2.7 with a lot of
warning messages generated, and no other effect.

None of this is supported on other Ruby platforms.

Related Ruby ticket:
https://bugs.ruby-lang.org/issues/8468
2020-03-17 18:04:26 +08:00
..
pry exceptions: check if $SAFE is supported by Ruby 2020-03-17 18:04:26 +08:00
pry.rb Fix: Rubocop: Layout/EmptyLineAfterMagicComment 2019-12-03 14:53:39 +01:00