Sha256: a0723945da68729d0adf56c7630e1016a163497382f25fc70ac04743b2f989bf
Contents?: true
Size: 453 Bytes
Versions: 26
Compression:
Stored size: 453 Bytes
Contents
module Foobara module TypeDeclarations module Handlers # Hmmmm... this inheritance feels backwards class ExtendArrayTypeDeclaration < ExtendAssociativeArrayTypeDeclaration def applicable?(sugary_type_declaration) strictish_type_declaration = desugarize(sugary_type_declaration) strictish_type_declaration.is_a?(::Hash) && strictish_type_declaration[:type] == :array end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems