lib/dry/schema/processor.rb in dry-schema-0.1.0 vs lib/dry/schema/processor.rb in dry-schema-0.1.1

- old
+ new

@@ -13,11 +13,11 @@ # Processing is split into 4 main steps: # # 1. Prepare input hash using a key map # 2. Apply pre-coercion filtering rules (optional step, used only when `filter` was used) # 3. Apply value coercions based on type specifications - # 4. Apply rules + # 4. Apply rules # # @see Params # @see JSON # # @api public @@ -49,10 +49,10 @@ # # @return [DSL] # # @api private def self.definition - @__definition__ + @__definition__ ||= nil end # Build a new processor object # # @return [Processor]