Sha256: d52cf334320274a61e08abbc352ecaafc2bc55c9be53e8600cce63c2369a4f7c

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

module Pull
  class Helper
    def values(args)
      Pull::Values.new(args)
    end

    def infinity
      Pull::Infinity.new
    end

    def drain(&block)
      Pull::Drain.new(&block)
    end

    def collect(&block)
      Pull::Collect.new(&block)
    end

    def map(&block)
      Pull::Map.new(&block)
    end

    def filter(&block)
      Pull::Filter.new(&block)
    end

    def take(limit)
      Pull::Take.new(limit)
    end

    def log
      Pull::Log.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pull_stream-1.0.0 lib/pull/helper.rb