Sha256: b437440a8f5e859d540e83b52737ecd279138680bb4775923d9d9c9887ef91e7

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

module SimCtl
  class Command
    module Upgrade
      # 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]
      def upgrade(device, runtime)
        Executor.execute(command_for('upgrade', device.udid, runtime.identifier))
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/command/upgrade.rb
simctl-1.6.8 lib/simctl/command/upgrade.rb