Class: AutomateIt::PlatformManager::Windows
- Inherits:
-
Struct
- Object
- Common
- AutomateIt::Plugin::Base
- AutomateIt::Plugin::Driver
- BaseDriver
- Struct
- AutomateIt::PlatformManager::Windows
- Defined in:
- lib/automateit/platform_manager/windows.rb
Overview
PlatformManager::Windows
A PlatformManager driver for Windows systems.
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
- #available? ⇒ Boolean
- #query(search) ⇒ Object
- #single_vendor? ⇒ Boolean
-
#suitability(method, *args) ⇒ Object
:nodoc:.
Methods inherited from Struct
Methods inherited from AutomateIt::Plugin::Driver
abstract_driver, 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
#available? ⇒ Boolean
5 6 7 |
# File 'lib/automateit/platform_manager/windows.rb', line 5 def available? return RUBY_PLATFORM.match(/mswin/) ? true : false end |
#query(search) ⇒ Object
32 33 34 35 |
# File 'lib/automateit/platform_manager/windows.rb', line 32 def query(search) _prepare super(search) end |
#single_vendor? ⇒ Boolean
37 38 39 |
# File 'lib/automateit/platform_manager/windows.rb', line 37 def single_vendor? return true end |
#suitability(method, *args) ⇒ Object
:nodoc:
9 10 11 12 |
# File 'lib/automateit/platform_manager/windows.rb', line 9 def suitability(method, *args) # :nodoc: # Must be higher than PlatformManager::Struct return available? ? 3 : 0 end |