Class: Moult::Coverage::Source
- Inherits:
-
Struct
- Object
- Struct
- Moult::Coverage::Source
- Defined in:
- lib/moult/coverage.rb
Overview
Provenance of a merged coverage dataset. Captured into the protected
contract so a consumer can see where the runtime evidence came from. The
collected_at slot also seeds a future stale-detection slice (deferred).
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#collected_at ⇒ Object
Returns the value of attribute collected_at.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend
31 32 33 |
# File 'lib/moult/coverage.rb', line 31 def backend @backend end |
#collected_at ⇒ Object
Returns the value of attribute collected_at
31 32 33 |
# File 'lib/moult/coverage.rb', line 31 def collected_at @collected_at end |
#version ⇒ Object
Returns the value of attribute version
31 32 33 |
# File 'lib/moult/coverage.rb', line 31 def version @version end |
Instance Method Details
#to_h ⇒ Object
32 33 34 |
# File 'lib/moult/coverage.rb', line 32 def to_h {backend: backend, version: version, collected_at: collected_at} end |