Class: FBSC

Inherits:
Object
  • Object
show all
Defined in:
lib/fbsimctl-extension/fbsimctl.rb

Overview

Class to handle fbsimctl shell commands

Class Method Summary collapse

Class Method Details

.boot(device) ⇒ Object



5
6
7
# File 'lib/fbsimctl-extension/fbsimctl.rb', line 5

def boot(device)
  execute_command("#{fbsimctl_command} '#{device}' boot")
end

.helpObject Also known as: h



17
18
19
# File 'lib/fbsimctl-extension/fbsimctl.rb', line 17

def help
  public_methods(false)
end

.install(path) ⇒ Object



9
10
11
# File 'lib/fbsimctl-extension/fbsimctl.rb', line 9

def install(path)
  execute_command("#{fbsimctl_command} install '#{path}'")
end

.uninstall(app) ⇒ Object



13
14
15
# File 'lib/fbsimctl-extension/fbsimctl.rb', line 13

def uninstall(app)
  execute_command("#{fbsimctl_command} uninstall '#{app}'")
end