Sha256: 6d08b10059402793cb021b3db41a17cccd36609c568e01d39d8db6694a763b05
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
# frozen_string_literal: true module Dry module Effects module Instructions class Raise < Instruction attr_reader :error def initialize(error) super() @error = error end def call = raise error end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-effects-0.5.0 | lib/dry/effects/instructions/raise.rb |