Sha256: e584b930bd93354bb8b968060d844695484d933c5d1a2189026f31594fd2fe79
Contents?: true
Size: 470 Bytes
Versions: 26
Compression:
Stored size: 470 Bytes
Contents
module Foobara module TypeDeclarations module Handlers class ExtendAttributesTypeDeclaration < ExtendAssociativeArrayTypeDeclaration def applicable?(sugary_type_declaration) strictish_type_declaration = desugarize(sugary_type_declaration) strictish_type_declaration.is_a?(::Hash) && strictish_type_declaration[:type] == :attributes end def priority Priority::LOW end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems