Class: Cheffish::ChefRunData

Inherits:
Object
  • Object
show all
Extended by:
WithPattern
Defined in:
lib/cheffish/chef_run_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from WithPattern

with

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_serversObject (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