lib/dry/schema/processor.rb in dry-schema-0.6.0 vs lib/dry/schema/processor.rb in dry-schema-1.0.0

- old
+ new

@@ -31,19 +31,20 @@ setting :type_registry, TypeRegistry.new param :steps, default: -> { EMPTY_ARRAY.dup } class << self - # @!attribute [r] definition - # Return DSL configured via #define - # @return [DSL] - # @api private + # Return DSL configured via #define + # + # @return [DSL] + # @api private attr_reader :definition # Define a schema for your processor class # - # @see Params - # @see JSON + # @see Schema#define + # @see Schema#Params + # @see Schema#JSON # # @return [Class] # # @api public def define(&block)