Sha256: f26006a010813a9f4b7f3e34470f589ec5f460d224206ccd63238c85c5746f7c

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

# Recurator

[![Gem Version](https://badge.fury.io/rb/recurator.png)](http://badge.fury.io/rb/recurator)
[![Build Status](https://travis-ci.org/ksss/Recurator.png?branch=master)](https://travis-ci.org/ksss/Recurator)

Recurator is object for recursive processing like Enumeator.

Recurator is included `Enumeable` module.

## Synopsis

```ruby
obj = {
  "one" => {
    "two" => [1,2,3],
    "three" => "foo",
    "four" => {
      "five" => {}
    }
  }
}
recur = Recurator.new obj # or obj.to_recur

p recur.values.grep(Hash)
#=> [{"two" => [1,2,3],"three" => "foo","four" => {"five" => {}}}, {"five" => {}}, {}]

p recur.keys
#=> ["one", "two", "three", "four", "five"]
```

## Install

    gem install recurator

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
recurator-0.0.2 README.md