Sha256: d4031e2b46932d38e77e03985db81e368709fe09c774cb8b0cf62c7e269be22f

Contents?: true

Size: 294 Bytes

Versions: 17

Compression:

Stored size: 294 Bytes

Contents

module SimCtl
  class Command
    module Shutdown
      # Shutdown a device
      #
      # @param device [SimCtl::Device] the device to shutdown
      # @return [void]
      def shutdown_device(device)
        Executor.execute(command_for('shutdown', device.udid))
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/command/shutdown.rb
simctl-1.6.8 lib/simctl/command/shutdown.rb
simctl-1.6.7 lib/simctl/command/shutdown.rb
simctl-1.6.6 lib/simctl/command/shutdown.rb
simctl-1.6.5 lib/simctl/command/shutdown.rb
simctl-1.6.4 lib/simctl/command/shutdown.rb
simctl-1.6.3 lib/simctl/command/shutdown.rb
simctl-1.6.2 lib/simctl/command/shutdown.rb
simctl-1.6.1 lib/simctl/command/shutdown.rb
simctl-1.6.0 lib/simctl/command/shutdown.rb
simctl-1.5.8 lib/simctl/command/shutdown.rb
simctl-1.5.7 lib/simctl/command/shutdown.rb
simctl-1.5.6 lib/simctl/command/shutdown.rb
simctl-1.5.5 lib/simctl/command/shutdown.rb
simctl-1.5.4 lib/simctl/command/shutdown.rb
simctl-1.5.3 lib/simctl/command/shutdown.rb
simctl-1.5.2 lib/simctl/command/shutdown.rb