Class: SpecGuard::RSpec::FileSelector::Stats
- Inherits:
-
Data
- Object
- Data
- SpecGuard::RSpec::FileSelector::Stats
- Defined in:
- lib/specguard/rspec/file_selector.rb
Overview
Why an empty --changed selection is empty. Every count is a filter
this class applied, in the order it applied them, so the CLI can name
the real cause instead of guessing at the last one.
Instance Attribute Summary collapse
-
#changed ⇒ Object
readonly
Returns the value of attribute changed.
-
#outside_root ⇒ Object
readonly
Returns the value of attribute outside_root.
-
#spec_matches ⇒ Object
readonly
Returns the value of attribute spec_matches.
-
#unreadable ⇒ Object
readonly
Returns the value of attribute unreadable.
Instance Method Summary collapse
-
#initialize(changed: 0, spec_matches: 0, outside_root: 0, unreadable: 0) ⇒ Stats
constructor
A new instance of Stats.
Constructor Details
#initialize(changed: 0, spec_matches: 0, outside_root: 0, unreadable: 0) ⇒ Stats
Returns a new instance of Stats.
86 87 88 |
# File 'lib/specguard/rspec/file_selector.rb', line 86 def initialize(changed: 0, spec_matches: 0, outside_root: 0, unreadable: 0) super end |
Instance Attribute Details
#changed ⇒ Object (readonly)
Returns the value of attribute changed
85 86 87 |
# File 'lib/specguard/rspec/file_selector.rb', line 85 def changed @changed end |
#outside_root ⇒ Object (readonly)
Returns the value of attribute outside_root
85 86 87 |
# File 'lib/specguard/rspec/file_selector.rb', line 85 def outside_root @outside_root end |
#spec_matches ⇒ Object (readonly)
Returns the value of attribute spec_matches
85 86 87 |
# File 'lib/specguard/rspec/file_selector.rb', line 85 def spec_matches @spec_matches end |
#unreadable ⇒ Object (readonly)
Returns the value of attribute unreadable
85 86 87 |
# File 'lib/specguard/rspec/file_selector.rb', line 85 def unreadable @unreadable end |