Skip to content

Commit

Permalink
Expose total and paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jul 26, 2023
1 parent 2b9210b commit d26c0a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/covered/statistics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ def initialize
@paths = Hash.new
end

attr :total
attr :paths

def count
@paths.size
end
Expand Down

0 comments on commit d26c0a9

Please sign in to comment.