Class: RSpec::Covers::Probe::Expectation

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/covers/probe/call_log_probe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actual_object_idObject

Returns the value of attribute actual_object_id

Returns:

  • (Object)

    the current value of actual_object_id



16
17
18
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 16

def actual_object_id
  @actual_object_id
end

#call_indexObject

Returns the value of attribute call_index

Returns:

  • (Object)

    the current value of call_index



16
17
18
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 16

def call_index
  @call_index
end

Instance Method Details

#to_hObject



17
18
19
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 17

def to_h
  { actual_object_id: actual_object_id, call_index: call_index }
end