Sha256: 5ba4b73904e67a102815edb98fdb8f810faf49c27bcf5dde8e4fbff097024eaa

Contents?: true

Size: 357 Bytes

Versions: 13

Compression:

Stored size: 357 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)
        @compiler = Compiler.new(registry)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dry-schema-1.8.0 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.7.1 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.7.0 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.6.2 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.6.1 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.6.0 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.6 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.5 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.4 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.3 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.2 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.1 lib/dry/schema/predicate_inferrer.rb
dry-schema-1.5.0 lib/dry/schema/predicate_inferrer.rb