Class: SimCtl::StatusBar

Inherits:
Object
  • Object
show all
Defined in:
lib/simctl/status_bar.rb

Instance Method Summary collapse

Constructor Details

#initialize(device) ⇒ StatusBar

Returns a new instance of StatusBar.



3
4
5
# File 'lib/simctl/status_bar.rb', line 3

def initialize(device)
  @device = device
end

Instance Method Details

#clearvoid

This method returns an undefined value.

Clear all status bar overrides



10
11
12
# File 'lib/simctl/status_bar.rb', line 10

def clear
  SimCtl.status_bar_clear(device)
end

#override(overrides) ⇒ void

This method returns an undefined value.

Set some status bar overrides

Parameters:



18
19
20
# File 'lib/simctl/status_bar.rb', line 18

def override(overrides)
  SimCtl.status_bar_override(device, overrides)
end