Method: SimpleCov::SourceFile#src

Defined in:
lib/simplecov/source_file.rb

#srcObject Also known as: source

The source code for this file. Aliased as :source

[View source]

25
26
27
28
29
# File 'lib/simplecov/source_file.rb', line 25

def src
  # We intentionally read source code lazily to
  # suppress reading unused source code.
  @src ||= load_source
end