Skip to content

Commit

Permalink
Add track_files method documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviershay committed Nov 29, 2015
1 parent 81e2431 commit 3414dd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/simplecov/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ def coverage_path
coverage_path
end

#
# Coverage results will always include files matched by this glob, whether
# or not they were explicitly required. Without this, un-required files
# will not be present in the final report.
#
def track_files(glob)
@track_files_glob = glob
end
Expand Down

0 comments on commit 3414dd6

Please sign in to comment.