Sha256: 8af959e20041e43eee03011c23c840a63090352c646a5c3ea7f964bbba232899
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
module SimCtl class Command module Create COMMAND = %w[xcrun simctl create] # Creates a device # # @param name [String] name of the new device # @param device_type [SimCtl::DeviceTYpe] device type of the new device # @param runtime [SimCtl::Runtime] runtime of the new device def create_device(name, device_type, runtime) Executor.execute([COMMAND, "'#{name}'", device_type.identifier, runtime.identifier]) do |identifier| device(udid: identifier) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simctl-0.1.0 | lib/simctl/command/create.rb |