Module: TestBench::Controls::ExpandPath
- Defined in:
- lib/test_bench/controls/expand_path.rb
Defined Under Namespace
Modules: RootDirectory
Class Method Summary collapse
Class Method Details
.example ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/test_bench/controls/expand_path.rb', line 4 def self.example -> path do if path == 'some/path' %w(some/path/1.rb some/path/2.rb) elsif path == 'other/path.rb' %w(other/path.rb) else [] end end end |