Module: Laser::Parsers::Class::VarianceConstraint3

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) type



434
435
436
437
438
# File 'lib/laser/annotation_parser/class_annotations_parser.rb', line 434

def type
  result = constant.type
  result.variance = :contravariant
  result
end