Class: RuboCop::Cop::RSpecParity::PrivateMethodCallGraph::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cop/rspec_parity/private_method_call_graph.rb

Overview

‘branch_tally` is whatever the branch_counter returns (a BranchTally), or nil when nothing was inlined. It must respond to `+` and `total`.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_tallyObject

Returns the value of attribute branch_tally

Returns:

  • (Object)

    the current value of branch_tally



13
14
15
# File 'lib/rubocop/cop/rspec_parity/private_method_call_graph.rb', line 13

def branch_tally
  @branch_tally
end

#traced_methodsObject

Returns the value of attribute traced_methods

Returns:

  • (Object)

    the current value of traced_methods



13
14
15
# File 'lib/rubocop/cop/rspec_parity/private_method_call_graph.rb', line 13

def traced_methods
  @traced_methods
end