lib/simctl/command/shutdown.rb in simctl-1.5.1 vs lib/simctl/command/shutdown.rb in simctl-1.5.2
- old
+ new
@@ -1,15 +1,13 @@
module SimCtl
class Command
module Shutdown
- COMMAND = %w[xcrun simctl shutdown]
-
# Shutdown a device
#
# @param device [SimCtl::Device] the device to shutdown
# @return [void]
def shutdown_device(device)
- Executor.execute([COMMAND, device.udid])
+ Executor.execute(command_for('shutdown', device.udid))
end
end
end
end