Module: Pry::TooSafeException
- Defined in:
- lib/pry/exceptions.rb
Overview
Catches SecurityErrors if $SAFE is set
Class Method Summary collapse
Class Method Details
.===(exception) ⇒ Object
27 28 29 |
# File 'lib/pry/exceptions.rb', line 27 def self.===(exception) $SAFE > 0 && SecurityError === exception end |