Sha256: a25d275d1552db9981a53d183298bba826c14907557f7b4b3f76e58859780cbd

Contents?: true

Size: 313 Bytes

Versions: 9

Compression:

Stored size: 313 Bytes

Contents

module SimCtl
  class Command
    module Delete
      COMMAND = %w[xcrun simctl delete]

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simctl-1.2.3 lib/simctl/command/delete.rb
simctl-1.2.2 lib/simctl/command/delete.rb
simctl-1.2.1 lib/simctl/command/delete.rb
simctl-1.2.0 lib/simctl/command/delete.rb
simctl-1.1.0 lib/simctl/command/delete.rb
simctl-1.0.2 lib/simctl/command/delete.rb
simctl-1.0.1 lib/simctl/command/delete.rb
simctl-1.0.0 lib/simctl/command/delete.rb
simctl-0.2.0 lib/simctl/command/delete.rb