Method: Chef::Cookbook::SyntaxCheck#initialize

Defined in:
lib/chef/cookbook/syntax_check.rb

#initialize(cookbook_path) ⇒ SyntaxCheck

Create a new SyntaxCheck object

Arguments

cookbook_path:

the (on disk) path to the cookbook



45
46
47
# File 'lib/chef/cookbook/syntax_check.rb', line 45

def initialize(cookbook_path)
  @cookbook_path = cookbook_path
end