module Pry::TooSafeException

Catches SecurityErrors if $SAFE is set

Public Class Methods

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