Class: AutomateIt::PlatformManager::Darwin
- Inherits:
-
Struct
- Object
- Common
- AutomateIt::Plugin::Base
- AutomateIt::Plugin::Driver
- BaseDriver
- Struct
- AutomateIt::PlatformManager::Darwin
- Defined in:
- lib/automateit/platform_manager/darwin.rb
Overview
PlatformManager::Darwin
A PlatformManager driver for Appleās Darwin.
Constant Summary
Constants inherited from AutomateIt::Plugin::Driver
AutomateIt::Plugin::Driver::BASE_DRIVER_NAME
Constants included from Constants
Constants::HELPERS_DIR, Constants::INSTALL_DIR, Constants::PERROR, Constants::PEXEC, Constants::PNOTE, Constants::WARNING_BOILERPLATE
Instance Attribute Summary
Attributes inherited from Struct
Attributes inherited from AutomateIt::Plugin::Driver
Attributes inherited from Common
Instance Method Summary collapse
Methods inherited from Struct
Methods inherited from AutomateIt::Plugin::Driver
abstract_driver, #available?, base_driver, base_driver?, depends_on, inherited, manager_token, #setup
Methods inherited from AutomateIt::Plugin::Base
Methods inherited from Common
#initialize, #log, #nitpick, #noop, #noop=, #noop?, #preview, #preview=, #preview?, #preview_for, #setup, #superuser?, #writing, #writing=, #writing?
Constructor Details
This class inherits a constructor from AutomateIt::Common
Instance Method Details
#query(search) ⇒ Object
22 23 24 25 |
# File 'lib/automateit/platform_manager/darwin.rb', line 22 def query(search) _prepare super(search) end |
#single_vendor? ⇒ Boolean
27 28 29 |
# File 'lib/automateit/platform_manager/darwin.rb', line 27 def single_vendor? return true end |
#suitability(method, *args) ⇒ Object
:nodoc:
7 8 9 10 |
# File 'lib/automateit/platform_manager/darwin.rb', line 7 def suitability(method, *args) # :nodoc: # Must be higher than PlatformManager::Uname return available? ? 3 : 0 end |