Class: SimpleCov::Baseline::Floor
- Inherits:
-
Data
- Object
- Data
- SimpleCov::Baseline::Floor
- Defined in:
- lib/simplecov/baseline.rb,
sig/simplecov.rbs
Overview
missed is nil for a hand-written percent-only entry, meaning the
dampener is absent and the percent alone decides.
Instance Attribute Summary collapse
-
#missed ⇒ Object
readonly
Returns the value of attribute missed.
-
#percent ⇒ Object
readonly
Returns the value of attribute percent.
Instance Method Summary collapse
-
#initialize ⇒ Floor
constructor
A new instance of Floor.
Constructor Details
#initialize ⇒ Floor
Returns a new instance of Floor.
1502 |
# File 'sig/simplecov.rbs', line 1502
def initialize: (percent: Numeric, missed: Integer?) -> void
|
Instance Attribute Details
#missed ⇒ Object (readonly)
Returns the value of attribute missed
33 34 35 |
# File 'lib/simplecov/baseline.rb', line 33 def missed @missed end |
#percent ⇒ Object (readonly)
Returns the value of attribute percent
33 34 35 |
# File 'lib/simplecov/baseline.rb', line 33 def percent @percent end |