Module: Dry::Effects::Instructions

Defined in:
lib/dry/effects/instructions.rb,
lib/dry/effects/instructions/raise.rb,
lib/dry/effects/instructions/execute.rb

Defined Under Namespace

Classes: Execute, Raise

Class Method Summary collapse

Class Method Details

.Execute(&block) ⇒ Object



10
11
12
# File 'lib/dry/effects/instructions.rb', line 10

def self.Execute(&block)
  Execute.new(block)
end

.Raise(error) ⇒ Object



6
7
8
# File 'lib/dry/effects/instructions.rb', line 6

def self.Raise(error)
  Raise.new(error)
end