Class: RSpec::Risky::Probe::ExpectationProbe::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/risky/probe/expectation_probe.rb

Instance Attribute Summary collapse

Instance Attribute Details

#custom_expectation_countObject

Returns the value of attribute custom_expectation_count

Returns:

  • (Object)

    the current value of custom_expectation_count



12
13
14
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 12

def custom_expectation_count
  @custom_expectation_count
end

#exampleObject

Returns the value of attribute example

Returns:

  • (Object)

    the current value of example



12
13
14
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 12

def example
  @example
end

#expectation_countObject

Returns the value of attribute expectation_count

Returns:

  • (Object)

    the current value of expectation_count



12
13
14
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 12

def expectation_count
  @expectation_count
end

#mock_expectation_countObject

Returns the value of attribute mock_expectation_count

Returns:

  • (Object)

    the current value of mock_expectation_count



12
13
14
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 12

def mock_expectation_count
  @mock_expectation_count
end

#previous_stateObject

Returns the value of attribute previous_state

Returns:

  • (Object)

    the current value of previous_state



12
13
14
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 12

def previous_state
  @previous_state
end