Method: ChefCLI::Policyfile::Lister#set!

Defined in:
lib/chef-cli/policyfile/lister.rb

#set!(policies_by_name, policies_by_group) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Sets internal copy of policyfile data to policies_by_name and policies_by_group. Used for internal testing.



194
195
196
197
198
# File 'lib/chef-cli/policyfile/lister.rb', line 194

def set!(policies_by_name, policies_by_group)
  @policies_by_name = policies_by_name
  @policies_by_group = policies_by_group
  @active_revisions = nil
end