<commit_before># as_enum

Allows you to turn any method that yields into a method that accepts no block and
returns an enumerator instead.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'as_enum'
```

And then execute:

```
$ bundle
```

Or install it yourself as:

```
$ gem install as_enum
```

## Usage
<commit_msg>Comma for clarity.<commit_after># as_enum

Allows you to turn any method that yields, into a method that accepts no block and
returns an enumerator instead.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'as_enum'
```

And then execute:

```
$ bundle
```

Or install it yourself as:

```
$ gem install as_enum
```

## Usage

{'fraction_non_alphanumeric': 0.10285714285714286, 'fraction_numerical': 0.0, 'mean_word_length': 4.231343283582089, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7261333', 'n_tokens_mistral': 237, 'n_tokens_neox': 218, 'n_words': 94}