<commit_before># MaybeHash, only values and nil allowed

![Travis-CI Build Status](https://travis-ci.org/olistik/maybe_hash.svg)

## Installation

Add this line to your application's Gemfile:

```ruby
gem "maybe_hash"
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install maybe_hash

## Usage

```ruby
hash = MaybeHash.new({foo: "bar"})
hash.foo.value # "bar"
hash.spam.value # nil
```

## Development<commit_msg>Uses Code Climate badges<commit_after># MaybeHash, only values and nil allowed

[![Code Climate](https://codeclimate.com/github/olistik/maybe_hash/badges/gpa.svg)](https://codeclimate.com/github/olistik/maybe_hash)

## Installation

Add this line to your application's Gemfile:

```ruby
gem "maybe_hash"
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install maybe_hash

## Usage

```ruby
hash = MaybeHash.new({foo: "bar"})
hash.foo.value # "bar"
hash.spam.value # nil
```

## Development
{'fraction_non_alphanumeric': 0.14166666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 4.398876404494382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2419234', 'n_tokens_mistral': 349, 'n_tokens_neox': 325, 'n_words': 87}