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.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#event_data ⇒ Object
Returns the value of attribute event_data
100 101 102 |
# File 'lib/test_bench/session/substitute/sink.rb', line 100 def event_data @event_data end |
#path ⇒ Object
Returns the value of attribute path
100 101 102 |
# File 'lib/test_bench/session/substitute/sink.rb', line 100 def path @path end |
Instance Method Details
#match?(path_segments) ⇒ Boolean
101 102 103 104 105 106 107 |
# File 'lib/test_bench/session/substitute/sink.rb', line 101 def match?(path_segments) if path_segments.any? path.match?(*path_segments) else true end end |