Class: TestBench::Session::Substitute::Sink::Record
- Inherits:
-
Struct
- Object
- Struct
- TestBench::Session::Substitute::Sink::Record
- Defined in:
- lib/test_bench/session/substitute/sink.rb
Instance Attribute Summary collapse
-
#event_data ⇒ Object
Returns the value of attribute event_data.
-
#trace ⇒ Object
Returns the value of attribute trace.
Instance Method Summary collapse
Instance Attribute Details
#event_data ⇒ Object
Returns the value of attribute event_data
85 86 87 |
# File 'lib/test_bench/session/substitute/sink.rb', line 85 def event_data @event_data end |
#trace ⇒ Object
Returns the value of attribute trace
85 86 87 |
# File 'lib/test_bench/session/substitute/sink.rb', line 85 def trace @trace end |
Instance Method Details
#match?(titles) ⇒ Boolean
86 87 88 89 90 91 92 |
# File 'lib/test_bench/session/substitute/sink.rb', line 86 def match?(titles) if titles.any? trace.match?(*titles) else true end end |