Sha256: ea91fbe6c738259a00083c7705fa881a9d5a0b007f502ee8ff16486582452b8f

Contents?: true

Size: 310 Bytes

Versions: 15

Compression:

Stored size: 310 Bytes

Contents

module SimCtl
  class Command
    module Erase
      COMMAND = %w[xcrun simctl erase]

      # Erase a device
      #
      # @param device [SimCtl::Device] the device to erase
      # @return [void]
      def erase_device(device)
        Executor.execute([COMMAND, device.udid])
      end
    end
  end
end


Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
simctl-1.5.1 lib/simctl/command/erase.rb
simctl-1.5.0 lib/simctl/command/erase.rb
simctl-1.4.1 lib/simctl/command/erase.rb
simctl-1.4.0 lib/simctl/command/erase.rb
simctl-1.3.1 lib/simctl/command/erase.rb
simctl-1.3.0 lib/simctl/command/erase.rb
simctl-1.2.3 lib/simctl/command/erase.rb
simctl-1.2.2 lib/simctl/command/erase.rb
simctl-1.2.1 lib/simctl/command/erase.rb
simctl-1.2.0 lib/simctl/command/erase.rb
simctl-1.1.0 lib/simctl/command/erase.rb
simctl-1.0.2 lib/simctl/command/erase.rb
simctl-1.0.1 lib/simctl/command/erase.rb
simctl-1.0.0 lib/simctl/command/erase.rb
simctl-0.2.0 lib/simctl/command/erase.rb