Sha256: f8dccaba5d505d9e65ffcd0eb853edcdb0bdf433246ec7a142ac9729b61d67d3

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

module Stages
  module Sugar
    def select(*args, &block)
      Select.new(*args, &block)
    end

    def each(*args, &block)
      Each.new(*args, &block)
    end

    def map(*args, &block)
      Map.new(*args, &block)
    end

    def wrap(*args, &block)
      Wrap.new(*args, &block)
    end

    def unique(*args, &block)
      Unique.new(*args, &block)
    end

    def run_until_exhausted(*args, &block)
      Exhaust.new(*args, &block)
    end

    def restrict(*args, &block)
      Restrict.new(*args, &block)
    end

    def resume(*args, &block)
      Resume.new(*args, &block)
    end

    def group(*args, &block)
      Count.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stages-0.2.6 lib/sugar.rb