Class: Chef::Fork

Inherits:
Object
  • Object
show all
Defined in:
lib/chef/fork.rb,
lib/chef/fork/version.rb,
lib/chef/fork/commands.rb,
lib/chef/fork/application.rb,
lib/chef/fork/commands/ssh.rb,
lib/chef/fork/commands/data.rb,
lib/chef/fork/commands/help.rb,
lib/chef/fork/commands/node.rb,
lib/chef/fork/commands/role.rb,
lib/chef/fork/commands/databag.rb,
lib/chef/fork/bootstrap/context.rb,
lib/chef/fork/commands/cookbook.rb,
lib/chef/fork/commands/bootstrap.rb,
lib/chef/fork/commands/environment.rb

Defined Under Namespace

Modules: Bootstrap, Commands Classes: Application

Constant Summary collapse

VERSION =
"0.2.0"

Instance Method Summary collapse

Constructor Details

#initializeFork

Returns a new instance of Fork.



8
9
10
# File 'lib/chef/fork.rb', line 8

def initialize()
  @application = Chef::Fork::Application.new()
end

Instance Method Details

#main(args = []) ⇒ Object



12
13
14
# File 'lib/chef/fork.rb', line 12

def main(args=[])
  @application.main(args)
end