Sha256: f948f5423c86e0ffc8d9729be790c08076de0bc820b855db7ae26b8c62941978

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

module SimCtl
  class Command
    module Shutdown
      COMMAND = %w[xcrun simctl shutdown]

      # Shutdown a device
      #
      # @param device [SimCtl::Device] the device to shutdown
      def shutdown_device(device)
        Executor.execute([COMMAND, device.udid])
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simctl-0.1.0 lib/simctl/command/shutdown.rb