Fix typo in README for PredefinedValues

This commit is contained in:
Gustav 2020-10-16 18:06:39 +02:00 committed by GitHub
parent 097ad42b2d
commit 44fefac209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -976,7 +976,7 @@ the ability to accept predefined values on a property.
```ruby
class UserHash < Hashie::Dash
include Hashie::Extensions::PredefinedValues
include Hashie::Extensions::Dash::PredefinedValues
property :gender, values: %i[male female prefer_not_to_say]
property :age, values: (0..150)