Sha256: 5c58f0d6ce74d74f673fc43d312d3e8b32e4723f4a6f64a2c0d5ae4544aa2349
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-effects-0.5.0 | lib/dry/effects/instructions/execute.rb |