lib/strict/parameter.rb in strict-1.4.0 vs lib/strict/parameter.rb in strict-1.5.0

- old
+ new

@@ -54,9 +54,11 @@ def optional? @optional end def valid?(value) + return true unless Strict.configuration.validate? + validator === value end def coerce(value) return value unless coercer