Method: Slather::CoverallsCoverageFile#as_json

Defined in:
lib/slather/coveralls_coverage_file.rb

#as_jsonObject



12
13
14
15
16
17
18
# File 'lib/slather/coveralls_coverage_file.rb', line 12

def as_json
  {
    :name => source_file_pathname_relative_to_project_root.to_s,
    :source => source_data,
    :coverage => coverage_data
  }
end