class UIAuto::SimulatorCLI

Public Instance Methods

close() click to toggle source
# File lib/uiauto/cli.rb, line 39
def close
  Simulator.close
end
load(data_path) click to toggle source
# File lib/uiauto/cli.rb, line 18
def load(data_path)
  simulator = Simulator.new(options[:sdk])
  simulator.load(data_path)
end
open() click to toggle source
# File lib/uiauto/cli.rb, line 34
def open
  Simulator.open(options[:simulator])
end
reset() click to toggle source
# File lib/uiauto/cli.rb, line 11
def reset
  simulator = Simulator.new(options[:sdk])
  simulator.reset
end
save(data_path) click to toggle source
# File lib/uiauto/cli.rb, line 25
def save(data_path)
  simulator = Simulator.new(options[:sdk])
  simulator.save(data_path)
end