module Errant
Constants
- VERSION
Public Instance Methods
capturing(*exceptions) { |blk| ... }
click to toggle source
# File lib/errant.rb, line 10 def capturing(*exceptions, &blk) Success.new(*exceptions).map { |_| yield(blk) } end