Sha256: 44d1b3f06cc2259beea074851f217b0d678f583f028cc8f153777221f9375aee

Contents?: true

Size: 155 Bytes

Versions: 3

Compression:

Stored size: 155 Bytes

Contents

module BSFlow
  class DropArgs
    def initialize(proc:)
      @proc = proc
    end
    
    def call(*args)
      @proc.call
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bsflow-2.6.0 lib/bsflow/drop_args.rb
bsflow-2.5.0 lib/bsflow/drop_args.rb
bsflow-2.4.0 lib/bsflow/drop_args.rb