Sha256: 76742a0de88131a0ecef226539eedd92c1d991019cbc28a3d04de56dd5660d5a
Contents?: true
Size: 417 Bytes
Versions: 10
Compression:
Stored size: 417 Bytes
Contents
require 'shellwords' module SimCtl class Command module Rename COMMAND = %w[xcrun simctl 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, device.udid, Shellwords.shellescape(name)]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems