Sha256: ab92f8ebe245f5e96da04d2c3b3b1660125da9e3c2176da69cab91fb17e8a8c4

Contents?: true

Size: 372 Bytes

Versions: 9

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

require "dry/types/predicate_inferrer"

module Dry
  module Schema
    # @api private
    class PredicateInferrer < ::Dry::Types::PredicateInferrer
      Compiler = ::Class.new(superclass::Compiler)

      def initialize(registry = PredicateRegistry.new)
        super

        @compiler = Compiler.new(registry)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dry-schema-1.10.6 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.10.5 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.10.4 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.10.2 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.10.1 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.9.3 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.9.2 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.9.1 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.9.0 lib/dry/schema/predicate_inferrer.rb