Class: SimCtl::Command
- Inherits:
-
Object
- Object
- SimCtl::Command
- Includes:
- Boot, Create, Delete, Erase, IO, Install, Keychain, Kill, Launch, List, OpenUrl, Privacy, Push, Rename, Reset, Shutdown, Spawn, StatusBar, Terminate, Uninstall, Upgrade, Warmup
- Defined in:
- lib/simctl/command.rb,
lib/simctl/command/io.rb,
lib/simctl/command/boot.rb,
lib/simctl/command/kill.rb,
lib/simctl/command/list.rb,
lib/simctl/command/push.rb,
lib/simctl/command/erase.rb,
lib/simctl/command/reset.rb,
lib/simctl/command/spawn.rb,
lib/simctl/command/create.rb,
lib/simctl/command/delete.rb,
lib/simctl/command/launch.rb,
lib/simctl/command/rename.rb,
lib/simctl/command/warmup.rb,
lib/simctl/command/install.rb,
lib/simctl/command/openurl.rb,
lib/simctl/command/privacy.rb,
lib/simctl/command/upgrade.rb,
lib/simctl/command/keychain.rb,
lib/simctl/command/shutdown.rb,
lib/simctl/command/terminate.rb,
lib/simctl/command/uninstall.rb,
lib/simctl/command/status_bar.rb
Defined Under Namespace
Modules: Boot, Create, Delete, Erase, IO, Install, Keychain, Kill, Launch, List, OpenUrl, Privacy, Push, Rename, Reset, Shutdown, Spawn, StatusBar, Terminate, Uninstall, Upgrade, Warmup
Constant Summary
Constants included from Launch
Instance Attribute Summary collapse
-
#device_set_path ⇒ Object
Returns the value of attribute device_set_path.
Instance Method Summary collapse
Methods included from Warmup
Methods included from Upgrade
Methods included from Uninstall
Methods included from Terminate
Methods included from StatusBar
#status_bar_clear, #status_bar_override
Methods included from Spawn
Methods included from Shutdown
Methods included from Reset
Methods included from Rename
Methods included from Push
Methods included from Privacy
Methods included from OpenUrl
Methods included from List
#device, #devicetype, #list_devices, #list_devicetypes, #list_runtimes, #runtime
Methods included from Launch
Methods included from Kill
Methods included from Keychain
Methods included from Install
Methods included from IO
Methods included from Erase
Methods included from Delete
#delete_all_devices, #delete_device
Methods included from Create
Methods included from Boot
Instance Attribute Details
#device_set_path ⇒ Object
Returns the value of attribute device_set_path.
28 29 30 |
# File 'lib/simctl/command.rb', line 28 def device_set_path @device_set_path end |
Instance Method Details
#command_for(*arguments) ⇒ Object
57 58 59 60 61 62 |
# File 'lib/simctl/command.rb', line 57 def command_for(*arguments) command = %w[xcrun simctl] command += ['--set', Shellwords.shellescape(device_set_path)] unless device_set_path.nil? command += arguments command end |