# File lib/core/facets/symbol/thrown.rb, line 7 def thrown? thrown = true catch(self) do begin yield thrown = false rescue ArgumentError => err # 1.9 exception thrown = false if err.message.index('uncaught throw') rescue NameError => err # 1.8 exception thrown = false if err.message.index('uncaught throw') end end thrown end