Class: RuboCop::Cop::RSpecParity::SufficientContexts::ParsedSpec
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Cop::RSpecParity::SufficientContexts::ParsedSpec
- Defined in:
- lib/rubocop/cop/rspec_parity/sufficient_contexts.rb
Overview
Tallies extracted from a spec’s text for a single method describe block.
Instance Attribute Summary collapse
-
#context_count ⇒ Object
Returns the value of attribute context_count.
-
#example_count ⇒ Object
Returns the value of attribute example_count.
-
#has_direct_examples ⇒ Object
Returns the value of attribute has_direct_examples.
-
#has_examples ⇒ Object
Returns the value of attribute has_examples.
Instance Attribute Details
#context_count ⇒ Object
Returns the value of attribute context_count
64 65 66 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 64 def context_count @context_count end |
#example_count ⇒ Object
Returns the value of attribute example_count
64 65 66 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 64 def example_count @example_count end |
#has_direct_examples ⇒ Object
Returns the value of attribute has_direct_examples
64 65 66 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 64 def has_direct_examples @has_direct_examples end |
#has_examples ⇒ Object
Returns the value of attribute has_examples
64 65 66 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 64 def has_examples @has_examples end |