Sha256: b5ee4382fe34d2d526fa970d84d1d5cfa6644a6a65ba07fbe0a243782ae56929

Contents?: true

Size: 471 Bytes

Versions: 12

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

require "dry/monads"

module Pipeable
  module Steps
    # Provides a custom step blueprint.
    class Abstract
      include Dry::Monads[:result]
      include Composable

      def initialize *positionals, **keywords, &block
        @base_positionals = positionals
        @base_keywords = keywords
        @base_block = block
      end

      protected

      attr_reader :base_positionals, :base_keywords, :base_block
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pipeable-1.2.0 lib/pipeable/steps/abstract.rb
pipeable-1.1.0 lib/pipeable/steps/abstract.rb
pipeable-1.0.0 lib/pipeable/steps/abstract.rb
pipeable-0.14.0 lib/pipeable/steps/abstract.rb
pipeable-0.13.0 lib/pipeable/steps/abstract.rb
pipeable-0.12.0 lib/pipeable/steps/abstract.rb
pipeable-0.11.0 lib/pipeable/steps/abstract.rb
pipeable-0.10.0 lib/pipeable/steps/abstract.rb
pipeable-0.9.1 lib/pipeable/steps/abstract.rb
pipeable-0.9.0 lib/pipeable/steps/abstract.rb
pipeable-0.8.0 lib/pipeable/steps/abstract.rb
pipeable-0.7.0 lib/pipeable/steps/abstract.rb