Class: UIAuto::Runner
- Inherits:
-
Object
- Object
- UIAuto::Runner
- Defined in:
- lib/uiauto/runner.rb
Class Method Summary collapse
Class Method Details
.run(file_or_dir, options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/uiauto/runner.rb', line 6 def self.run(file_or_dir, = {}) exit_status = 0 if file_or_dir.nil? exit_status = self.run_one elsif File.directory?(file_or_dir) exit_status = self.run_all(file_or_dir, ) else exit_status = self.run_one(file_or_dir, ) end exit exit_status end |