Sha256: b0d74c2c332a667775817f2bf2f220d3856721255e95042e768d3e0b2aba8a48
Contents?: true
Size: 831 Bytes
Versions: 27
Compression:
Stored size: 831 Bytes
Contents
Foobara.require_project_file("type_declarations", "handlers/registered_type_declaration/to_type_transformer") Foobara.require_project_file("type_declarations", "handlers/extend_associative_array_type_declaration") module Foobara module TypeDeclarations module Handlers class ExtendArrayTypeDeclaration < ExtendAssociativeArrayTypeDeclaration class ToTypeTransformer < ExtendAssociativeArrayTypeDeclaration::ToTypeTransformer def transform(strict_type_declaration) super.tap do |type| element_type_declaration = type.declaration_data[:element_type_declaration] if element_type_declaration type.element_type = type_for_declaration(element_type_declaration) end end end end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems