module SimCtl::Command::Rename

Public Instance Methods

rename_device(device, name) click to toggle source

Boots a device

@param device [SimCtl::Device] the device to boot @param name [String] the new device name @return [void]

# File lib/simctl/command/rename.rb, line 11
def rename_device(device, name)
  Executor.execute(command_for('rename', device.udid, Shellwords.shellescape(name)))
end