lib/bolt/inventory/group2.rb
# Return a mapping of group names to group.
Return a mapping of group names to group.
Return a mapping of group names to group .
def collect_groups
        @groups.inject(name => self) do |acc, g|
          acc.merge(g.collect_groups)
        end
      end
def collect_groups @groups . inject ( name => self ) do | acc , g | acc . merge ( g . collect_groups ) end end
Return a mapping of group names to group.
Return a mapping of group names to group .