Class: RSpec::Covers::Probe::Expectation
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Covers::Probe::Expectation
- Defined in:
- lib/rspec/covers/probe/call_log_probe.rb
Instance Attribute Summary collapse
-
#actual_object_id ⇒ Object
Returns the value of attribute actual_object_id.
-
#call_index ⇒ Object
Returns the value of attribute call_index.
Instance Method Summary collapse
Instance Attribute Details
#actual_object_id ⇒ Object
Returns the value of attribute 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_index ⇒ Object
Returns the value of attribute 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_h ⇒ Object
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 |