module SimCtl::Command::Shutdown

Public Instance Methods

shutdown_device(device) click to toggle source

Shutdown a device

@param device [SimCtl::Device] the device to shutdown @return [void]

# File lib/simctl/command/shutdown.rb, line 8
def shutdown_device(device)
  Executor.execute(command_for('shutdown', device.udid))
end