Class: Kudos::AchievementGroup

Inherits:
ApplicationRecord show all
Includes:
Uuidable
Defined in:
app/models/kudos/achievement_group.rb

Instance Method Summary collapse

Methods included from Uuidable

#generate_uuid

Instance Method Details

#with_children_groupsObject



26
27
28
# File 'app/models/kudos/achievement_group.rb', line 26

def with_children_groups
  children.flat_map(&:with_children_groups).push(id)
end