class ChefCLI::Policyfile::PolicyGroupRevIDMap
def each
def each revision_ids_by_group.each do |group_name, rev_id| yield group_name, rev_id end end
def empty?
def empty? policy_group_names.empty? end
def format_revision_ids
def format_revision_ids revision_ids_by_group.inject({}) do |map, (group_name, rev_id)| map[group_name] = yield rev_id map end end
def initialize(policy_name, revision_ids_by_group)
def initialize(policy_name, revision_ids_by_group) @policy_name = policy_name @revision_ids_by_group = revision_ids_by_group end
def max_group_name_length
def max_group_name_length policy_group_names.map(&:size).max end
def policy_group_names
def policy_group_names revision_ids_by_group.keys end
def unique_revision_ids
def unique_revision_ids revision_ids_by_group.values.uniq end