Class AutomateIt::PlatformManager::Struct
In: lib/automateit/platform_manager/struct.rb
Parent: AutomateIt::PlatformManager::BaseDriver

PlatformManager::Struct

A simple PlatformManager driver that queries a hash for results. Although not useful on its own, it‘s inherited by other drivers that provide platform-specific methods to query the system.

Methods

query   setup   single_vendor?   tags  

Attributes

key_aliases  [RW]  Hash mapping of keys that have many common names, e.g., "release" and "version"

Public Instance methods

Options:

  • :struct — The hash to use for queries.

See PlatformManager#single_vendor?

[Validate]