lib/core/facets/exception/raised.rb in facets-2.8.4 vs lib/core/facets/exception/raised.rb in facets-2.9.0.pre.1

- old
+ new

@@ -1,9 +1,9 @@ class Exception # Does a block raise an a given +exception+. # - def raised? #:yeild: + def self.raised? #:yeild: begin yield false rescue self true