Class: RSpec::Covers::Probe::Call
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Covers::Probe::Call
- Defined in:
- lib/rspec/covers/probe/call_log_probe.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
Returns the value of attribute event.
-
#file ⇒ Object
Returns the value of attribute file.
-
#label ⇒ Object
Returns the value of attribute label.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
Instance Attribute Details
#event ⇒ Object
Returns the value of attribute event
10 11 12 |
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 10 def event @event end |
#file ⇒ Object
Returns the value of attribute file
10 11 12 |
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 10 def file @file end |
#label ⇒ Object
Returns the value of attribute label
10 11 12 |
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 10 def label @label end |
#line ⇒ Object
Returns the value of attribute line
10 11 12 |
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 10 def line @line end |
Instance Method Details
#to_h ⇒ Object
11 12 13 |
# File 'lib/rspec/covers/probe/call_log_probe.rb', line 11 def to_h { label: label, file: file, line: line, event: event } end |