lib/iron/settings/group.rb
# Returns all groups that are children of this group
Returns all groups that are children of this group
Returns all groups that are children of this group
def groups(include_children = false)
      list = @nodes.values.select {|i| i.group?}
      if include_children
        list += list.collect {|i| i.groups}.flatten
      end
      list
    end
def groups ( include_children = false ) list = @nodes . values . select { | i | i . group? } if include_children list += list . collect { | i | i . groups } . flatten end list end
Returns all groups that are children of this group
Returns all groups that are children of this group
include_children
<not_specific>