Class: SimCtl::StatusBar
- Inherits:
-
Object
- Object
- SimCtl::StatusBar
- Defined in:
- lib/simctl/status_bar.rb
Instance Method Summary collapse
-
#clear ⇒ void
Clear all status bar overrides.
-
#initialize(device) ⇒ StatusBar
constructor
A new instance of StatusBar.
-
#override(overrides) ⇒ void
Set some status bar overrides.
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
#clear ⇒ void
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.(device) end |
#override(overrides) ⇒ void
This method returns an undefined value.
Set some status bar overrides
18 19 20 |
# File 'lib/simctl/status_bar.rb', line 18 def override(overrides) SimCtl.(device, overrides) end |