Class: Cheffish::ChefRunData
- Inherits:
-
Object
- Object
- Cheffish::ChefRunData
- Extended by:
- WithPattern
- Defined in:
- lib/cheffish/chef_run_data.rb
Instance Attribute Summary collapse
-
#local_servers ⇒ Object
readonly
Returns the value of attribute local_servers.
Instance Method Summary collapse
-
#initialize(config) ⇒ ChefRunData
constructor
A new instance of ChefRunData.
Methods included from WithPattern
Constructor Details
#initialize(config) ⇒ ChefRunData
Returns a new instance of ChefRunData.
6 7 8 9 |
# File 'lib/cheffish/chef_run_data.rb', line 6 def initialize(config) @local_servers = [] @current_chef_server = Cheffish.default_chef_server(config) end |
Instance Attribute Details
#local_servers ⇒ Object (readonly)
Returns the value of attribute local_servers.
17 18 19 |
# File 'lib/cheffish/chef_run_data.rb', line 17 def local_servers @local_servers end |