Parent

Methods

Sys::Admin::Group

The Group class encapsulates information found in /etc/group.

Attributes

gid[RW]

The group’s group ID.

members[RW]

An array of members associated with the group.

name[RW]

The name of the group.

passwd[RW]

The group password, if any.

Public Class Methods

new() click to toggle source

Creates and returns a Group object, which encapsulates the information typically found within an /etc/group entry, i.e. a struct group.

If a block is provided, yields the object back to the block.

# File lib/sys/admin/common.rb, line 135
def initialize
  yield self if block_given?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.