Module: SimCtl::Command::Erase

Included in:
SimCtl::Command
Defined in:
lib/simctl/command/erase.rb

Instance Method Summary collapse

Instance Method Details

#erase_device(device) ⇒ void

This method returns an undefined value.

Erase a device

Parameters:



8
9
10
# File 'lib/simctl/command/erase.rb', line 8

def erase_device(device)
  Executor.execute(command_for('erase', device.udid))
end