class ChefCLI::PolicyfileServices::UpdateAttributes
def initialize(policyfile: nil, ui: nil, root_dir: nil, chef_config: nil)
def initialize(policyfile: nil, ui: nil, root_dir: nil, chef_config: nil) @ui = ui policyfile_rel_path = policyfile || "Policyfile.rb" policyfile_full_path = File.expand_path(policyfile_rel_path, root_dir) @storage_config = Policyfile::StorageConfig.new.use_policyfile(policyfile_full_path) @updated = false @chef_config = chef_config end