Sha256: 12d33668dab628ce9bca2df2068e829d371dd55d14b8cbf791b1149b3d33eda1

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 Bytes

Contents

# proc-throttle

Proc#throttle: throttling calls

## Installation

Add this line to your application's Gemfile:

    gem 'proc-throttle'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install proc-throttle

## Usage

    count = 0

    proc = Proc.new do |increment|
      count += increment || 1
    end

    throttled_proc = proc.throttle(1)


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
proc-throttle-0.1.0 README.md
proc-throttle-0.0.2 README.md
proc-throttle-0.0.1 README.md