Module: SimCtl::Command::Shutdown
- Included in:
- SimCtl::Command
- Defined in:
- lib/simctl/command/shutdown.rb
Instance Method Summary collapse
-
#shutdown_device(device) ⇒ void
Shutdown a device.
Instance Method Details
#shutdown_device(device) ⇒ void
This method returns an undefined value.
Shutdown a device
8 9 10 |
# File 'lib/simctl/command/shutdown.rb', line 8 def shutdown_device(device) Executor.execute(command_for('shutdown', device.udid)) end |