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
95 96 97 98 99 100 |
# File 'lib/chef/cookbook/syntax_check.rb', line 95 def initialize(cookbook_path) @cookbook_path = cookbook_path @chefignore ||= Chefignore.new(cookbook_path) @validated_files = PersistentSet.new end |