Method: Dry::Types::Hash#to_ast
- Defined in:
- lib/dry/types/hash.rb
#to_ast(meta: true) ⇒ Array
Returns An AST representation.
95 96 97 98 99 |
# File 'lib/dry/types/hash.rb', line 95 def to_ast(meta: true) [:hash, [.slice(:type_transform_fn, :namespace), ()]] end |