Module: Gemmy::Patches::ExceptionPatch::ClassMethods::Raised
- Defined in:
- lib/gemmy/patches/exception_patch.rb
Class Method Summary collapse
-
.raised? ⇒ Boolean
facets does an exception raise an error?.
Class Method Details
.raised? ⇒ Boolean
facets does an exception raise an error?
8 9 10 11 12 13 14 15 |
# File 'lib/gemmy/patches/exception_patch.rb', line 8 def self.raised? #:yeild: begin yield false rescue self true end end |