Method: Covered::Coverage#annotate

Defined in:
lib/covered/coverage.rb

#annotate(line_number, annotation) ⇒ Object



51
52
53
54
# File 'lib/covered/coverage.rb', line 51

def annotate(line_number, annotation)
  @annotations[line_number] ||= []
  @annotations[line_number] << annotation
end