Class: Kitchen::Platform
- Inherits:
-
Object
- Object
- Kitchen::Platform
- Defined in:
- lib/kitchen/platform.rb
Overview
A target operating system environment in which convergence integration will take place. This may represent a specific operating system, version, and machine architecture.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Logical name of this platform.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Platform
constructor
Constructs a new platform.
Constructor Details
#initialize(options = {}) ⇒ Platform
Constructs a new platform.
36 37 38 39 40 |
# File 'lib/kitchen/platform.rb', line 36 def initialize( = {}) @name = .fetch(:name) do raise ClientError, "Platform#new requires option :name" end end |
Instance Attribute Details
#name ⇒ String (readonly)
Returns logical name of this platform.
29 30 31 |
# File 'lib/kitchen/platform.rb', line 29 def name @name end |