module Pry::TooSafeException

Catches SecurityErrors if $SAFE is set

Public Class Methods

===(exception) click to toggle source
# File lib/pry.rb, line 179
def self.===(exception)
  $SAFE > 0 && SecurityError === exception
end