Sha256: 7d5f0469a8d6d1621ed66b55c2f2e6afea617cc425302b6ba8d1ed6ab249f72c
Contents?: true
Size: 459 Bytes
Versions: 4
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true module Pipeable module Steps # Messages operation, without any response checks, while passing input through as output. class Tee < Abstract def initialize(operation, *, **) super(*, **) @operation = operation end def call result operation.public_send(*base_positionals, **base_keywords) result end private attr_reader :operation end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pipeable-0.4.0 | lib/pipeable/steps/tee.rb |
pipeable-0.3.0 | lib/pipeable/steps/tee.rb |
pipeable-0.2.0 | lib/pipeable/steps/tee.rb |
pipeable-0.1.0 | lib/pipeable/steps/tee.rb |