Class: UIAuto::SimulatorCLI
- Inherits:
-
Thor
- Object
- Thor
- UIAuto::SimulatorCLI
- Defined in:
- lib/uiauto/cli.rb
Instance Method Summary collapse
Instance Method Details
#close ⇒ Object
36 37 38 |
# File 'lib/uiauto/cli.rb', line 36 def close Simulator.close end |
#load(data_path) ⇒ Object
18 19 20 21 |
# File 'lib/uiauto/cli.rb', line 18 def load(data_path) simulator = Simulator.new([:sdk]) simulator.load(data_path) end |
#open ⇒ Object
31 32 33 |
# File 'lib/uiauto/cli.rb', line 31 def open Simulator.open end |
#reset ⇒ Object
11 12 13 14 |
# File 'lib/uiauto/cli.rb', line 11 def reset simulator = Simulator.new([:sdk]) simulator.reset end |
#save(data_path) ⇒ Object
25 26 27 28 |
# File 'lib/uiauto/cli.rb', line 25 def save(data_path) simulator = Simulator.new([:sdk]) simulator.save(data_path) end |