Sha256: 76ecd9a86495f7e61cd82a809182b47987c586806e41d4a9f503b85bf1b6a0e7
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
module AbstractReflection module ThreadMirror include Mirror def stop raise CapabilitiesExceeded end def run raise CapabilitiesExceeded end def kill raise CapabilitiesExceeded end def return_value raise CapabilitiesExceeded end def status raise CapabilitiesExceeded end def stack raise CapabilitiesExceeded end def step(length = :over) raise CapabilitiesExceeded end def breakpoints raise CapabilitiesExceeded end def thread_data raise CapabilitiesExceeded end def compiler raise CapabilitiesExceeded end # Installs an exception block in the thread. This is no rescue, # the block will be executed for the given exception type, but it # will not prevent the exception from propagating through the # thread. # # @param [Exception, Array<Exception>] the exception(s) to rescue # @param [Block] the exception handler def handle_exception(e = Exception, &block) raise CapabilitiesExceeded end def reset raise CapabilitiesExceeded end def shift raise CapabilitiesExceeded end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubymirrors-0.0.3 | lib/abstract_reflection/thread_mirror.rb |
rubymirrors-0.0.2 | lib/abstract_reflection/thread_mirror.rb |
rubymirrors-0.0.1 | lib/abstract_reflection/thread_mirror.rb |