Method: TestRunner::CLI#resolve_files
- Defined in:
- lib/test_runner/cli.rb
#resolve_files ⇒ Object
44 45 46 47 48 49 50 51 52 |
# File 'lib/test_runner/cli.rb', line 44 def resolve_files .paths.flat_map do |path| if path.end_with? ".rb" [path] else Dir[File.join path, "**/*.rb"] end end end |