Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonborg committed Aug 3, 2017
1 parent 2655f8e commit d16cead
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ params.forbid('one' => 'one').to_h # => { "two" => "two" }

If your custom `Hash`-like class implements `#delete` and the `#[]` finder, you can `include Allowable` to mix in the methods.

```ruby
class MyHash
include Allowable
end
```

## Platform support

This gem should work with Ruby >= 2.0.0, however at the moment it is only tested for Ruby >= 2.2.2
Expand Down

0 comments on commit d16cead

Please sign in to comment.