module SimCtl::Command::Upgrade

Public Instance Methods

upgrade(device, runtime) click to toggle source

Upgrade a device to a newer runtime

@param device [SimCtl::Device] the device the upgrade should be performed for @param runtime [SimCtl::Runtime] the runtime the device should be upgrade to @return [void]

# File lib/simctl/command/upgrade.rb, line 9
def upgrade(device, runtime)
  Executor.execute(command_for('upgrade', device.udid, runtime.identifier))
end