Fix typo in README for PredefinedValues
This commit is contained in:
parent
097ad42b2d
commit
44fefac209
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue