class FoodCritic::CommandLine
def valid_paths?
-
(Boolean)
- True if the paths exist.
def valid_paths? paths = options[:cookbook_paths] + options[:role_paths] + options[:environment_paths] paths.any? && paths.all? { |path| File.exist?(path) } end