Class: HackyHAL::DeviceControllers::OsxComputer
- Inherits:
-
GenericSsh
- Object
- Base
- GenericSsh
- HackyHAL::DeviceControllers::OsxComputer
- Defined in:
- lib/hacky_hal/device_controllers/osx_computer.rb
Constant Summary
Constants inherited from GenericSsh
GenericSsh::MAX_COMMAND_RETRIES
Instance Attribute Summary
Attributes inherited from GenericSsh
Attributes included from Options
Instance Method Summary collapse
Methods inherited from GenericSsh
#connect, #connected?, #disconnect, #exec, #initialize
Methods inherited from Base
Methods included from Options
Constructor Details
This class inherits a constructor from HackyHAL::DeviceControllers::GenericSsh
Instance Method Details
#mirror_screens ⇒ Object
6 7 8 |
# File 'lib/hacky_hal/device_controllers/osx_computer.rb', line 6 def mirror_screens exec("mirror -on") end |
#set_audio_output_device(name) ⇒ Object
14 15 16 |
# File 'lib/hacky_hal/device_controllers/osx_computer.rb', line 14 def set_audio_output_device(name) exec("audiodevice output '#{name}'") end |
#unmirror_screens ⇒ Object
10 11 12 |
# File 'lib/hacky_hal/device_controllers/osx_computer.rb', line 10 def unmirror_screens exec("mirror -off") end |