module Dry::Schema::Info::SchemaMethods
Public Instance Methods
info()
click to toggle source
Return information about keys and types
@return [Hash<Symbol=>Hash>]
@api public
# File lib/dry/schema/extensions/info.rb, line 17 def info compiler = SchemaCompiler.new compiler.call(to_ast) compiler.to_h end