Module: SimCtl::Command::Shutdown

Included in:
SimCtl::Command
Defined in:
lib/simctl/command/shutdown.rb

Instance Method Summary collapse

Instance Method Details

#shutdown_device(device) ⇒ void

This method returns an undefined value.

Shutdown a device

Parameters:



8
9
10
# File 'lib/simctl/command/shutdown.rb', line 8

def shutdown_device(device)
  Executor.execute(command_for('shutdown', device.udid))
end