Sha256: 7ea79ec56c479e781cffe06bed5c0338af5cf437f90224d4c0271689cc7e197b
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
class ResultRow attr_reader :identifier attr_accessor :example_count, :duration_raw def initialize(identifier) @identifier = identifier @example_count = 0 @duration_raw = 0.0 end def avg_duration duration_raw / example_count end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec_overview-0.1.1 | lib/rspec_overview/result_row.rb |
rspec_overview-0.1.0 | lib/rspec_overview/result_row.rb |