Module: TestBench::Session::Controls::Substitute::Path
- Defined in:
- lib/test_bench/session/controls/substitute/path.rb
Defined Under Namespace
Modules: Segment
Class Method Summary collapse
Class Method Details
.example(segments = nil) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/test_bench/session/controls/substitute/path.rb', line 6 def self.example(segments=nil) segments ||= Segment.examples segments = segments.dup path = TestBench::Session::Substitute::Path.new path.segments = segments path end |