dry-rb / dry-logic

Predicate logic with rule composition
https://dry-rb.org/gems/dry-logic/
MIT License
179 stars 66 forks source link

Add nil? and make none? an alias for backward compat #39

Closed solnic closed 5 years ago

solnic commented 5 years ago

Originally, dry-validation couldn't use nil? because it was defined on Object, now it's possible as DSL objects use BasicObject or they undef methods that are in conflict with the DSL.