Module: SimCtl::Command::Rename
- Included in:
- SimCtl::Command
- Defined in:
- lib/simctl/command/rename.rb
Instance Method Summary collapse
-
#rename_device(device, name) ⇒ void
Boots a device.
Instance Method Details
#rename_device(device, name) ⇒ void
This method returns an undefined value.
Boots a device
11 12 13 |
# File 'lib/simctl/command/rename.rb', line 11 def rename_device(device, name) Executor.execute(command_for('rename', device.udid, Shellwords.shellescape(name))) end |