Module: Laser::Parsers::Class::ArrayConstraint1

Defined in:
lib/laser/annotation_parser/class_annotations_parser.rb

Instance Method Summary collapse

Instance Method Details

#typeObject



185
186
187
188
# File 'lib/laser/annotation_parser/class_annotations_parser.rb', line 185

def type
  Types::GenericType.new(Types::ClassType.new('Array', :covariant),
      [elements[2].type])
end