Sha256: 04cd0029374e25611494a46a059c82266a16548486be48704796618c446df40f
Contents?: true
Size: 228 Bytes
Versions: 11
Compression:
Stored size: 228 Bytes
Contents
# frozen_string_literal: true module Pipeable module Steps # Wraps Dry Monads `#bind` method as a step. class Bind < Abstract def call(result) = result.bind { |object| base_block.call object } end end end
Version data entries
11 entries across 11 versions & 1 rubygems