lib/dry/validation/schema/value.rb in dry-validation-0.12.2 vs lib/dry/validation/schema/value.rb in dry-validation-0.12.3
- old
+ new
@@ -2,10 +2,10 @@
module Dry
module Validation
class Schema
class Value < DSL
- attr_reader :type, :schema_class, :schema, :type_map
+ attr_reader :type, :schema_class, :type_map
def initialize(options = {})
super
@type = options.fetch(:type, :key)
@schema_class = options.fetch(:schema_class, ::Class.new(Schema))