module Pry::TooSafeException
Catches SecurityErrors if $SAFE is set
Public Class Methods
===(exception)
click to toggle source
# File lib/pry/exceptions.rb, line 29 def self.===(exception) if Pry::HAS_SAFE_LEVEL $SAFE > 0 && exception.is_a?(SecurityError) else exception.is_a?(SecurityError) end end