Sha256: f7445a9254ccd0c9e36c7ae2e62b8b005bec2c6bf26fac33c3e2f1ee58e5197e
Contents?: true
Size: 388 Bytes
Versions: 17
Compression:
Stored size: 388 Bytes
Contents
require 'shellwords' module SimCtl class Command module Rename # Boots a device # # @param device [SimCtl::Device] the device to boot # @param name [String] the new device name # @return [void] def rename_device(device, name) Executor.execute(command_for('rename', device.udid, Shellwords.shellescape(name))) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems