Class Chef::Cookbook::SyntaxCheck
In: lib/chef/cookbook/syntax_check.rb
Parent: Object

Chef::Cookbook::SyntaxCheck

Encapsulates the process of validating the ruby syntax of files in Chef cookbooks.

Methods

Included Modules

Chef::Mixin::ShellOut

Attributes

cookbook_path  [R] 

Public Class methods

Creates a new SyntaxCheck given the cookbook_name and a cookbook_path. If no cookbook_path is given, +Chef::Config.cookbook_path+ is used.

Create a new SyntaxCheck object

Arguments

cookbook_path::the (on disk) path to the cookbook

Public Instance methods

[Validate]