lib/core/facets/symbol/thrown.rb in facets-2.8.4 vs lib/core/facets/symbol/thrown.rb in facets-2.9.0.pre.1

- old
+ new

@@ -6,14 +6,12 @@ catch(self) do begin yield true rescue ArgumentError => err # 1.9 exception - #msg += ", not #{err.message.split(/ /).last}" - false + false #msg += ", not #{err.message.split(/ /).last}" rescue NameError => err # 1.8 exception - #msg += ", not #{err.name.inspect}" - false + false #msg += ", not #{err.name.inspect}" end end end end