Sha256: 0ec956ea6e70a5ceb240461961caa06016594f6e27b3b18cfd94ff5a845cfe85

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

# Kernel#iterate [![[version]](https://badge.fury.io/rb/iterate.svg)](http://badge.fury.io/rb/iterate)  [![[travis]](https://travis-ci.org/janlelis/iterate.png)](https://travis-ci.org/janlelis/iterate)

Iterate over one or more collections. It feels like an `.each` implemented as a control structure. It also makes it easier to iterate over multiple objects.


## Usage

```ruby
iterate [1,2], [3,4,5] do |e, f|
  puts "#{e},#{f}"
end

# 1,3
# 2,4
# ,5
```


## Setup

Add to your `Gemfile`:

```ruby
gem 'iterate'
```


## MIT License

Copyright (C) 2010-2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iterate-1.0.0 README.md