Method: Aix::Group#group_list

Defined in:
lib/beaker/host/aix/group.rb

#group_listObject



4
5
6
7
8
9
10
# File 'lib/beaker/host/aix/group.rb', line 4

def group_list
  execute("lsgroup -a ALL") do |result|
    yield result if block_given?

    result.stdout.lines.map(&:strip)
  end
end