Module: Dry::Schema::Info::SchemaMethods
- Included in:
- Processor
- Defined in:
- lib/dry/schema/extensions/info.rb
Instance Method Summary collapse
-
#info ⇒ Hash<Symbol=>Hash>
Return information about keys and types.
Instance Method Details
#info ⇒ Hash<Symbol=>Hash>
Return information about keys and types
17 18 19 20 21 |
# File 'lib/dry/schema/extensions/info.rb', line 17 def info compiler = SchemaCompiler.new compiler.call(to_ast) compiler.to_h end |