Class: Dry::Schema::PrimitiveInferrer Private

Inherits:
Types::PrimitiveInferrer
  • Object
show all
Defined in:
lib/dry/schema/primitive_inferrer.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

Compiler =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

::Class.new(superclass::Compiler)

Instance Method Summary collapse

Constructor Details

#initializePrimitiveInferrer

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of PrimitiveInferrer.



9
10
11
12
13
# File 'lib/dry/schema/primitive_inferrer.rb', line 9

def initialize
  super

  @compiler = Compiler.new
end