Sha256: e75808b9a916aef6d11c0efc193ef5c127d9d3c651793214c9c95426344b582b
Contents?: true
Size: 268 Bytes
Versions: 7
Compression:
Stored size: 268 Bytes
Contents
require 'interception' listener = lambda{ |exception, binding| puts "raised: #{exception.inspect}" } Interception.listen(listener) begin raise "oopsy" rescue => exception puts "rescued: #{exception.inspect}" end raise "daisy" Interception.unlisten(listener)
Version data entries
7 entries across 7 versions & 2 rubygems