Sha256: 5a753a6f485909611bc52802b517fbdbf08ba40cf2425bbbc4ba1f74dda55d33
Contents?: true
Size: 390 Bytes
Versions: 11
Compression:
Stored size: 390 Bytes
Contents
class V8::Error module Protect def protect yield rescue Football => e e.kickoff! rescue Exception => e e.extend Football e.kickoff! end end module Football def kickoff! error = V8::C::Exception::Error(message) error.SetHiddenValue("rr::Football", V8::C::External::New(self)) V8::C::ThrowException(error) end end end
Version data entries
11 entries across 11 versions & 1 rubygems