Sha256: 641d44a0a763502ca23deef8c4d677e0385fdb36013807a2cb2c9009f15687ae
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Dry module Effects module Instructions class Execute < Instruction attr_reader :block def initialize(block) super() @block = block end def call block.call end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dry-effects-0.4.1 | lib/dry/effects/instructions/execute.rb |
dry-effects-0.4.0 | lib/dry/effects/instructions/execute.rb |
dry-effects-0.3.1 | lib/dry/effects/instructions/execute.rb |