Method: Sys::Group#initialize

Defined in:
lib/windows/sys/admin.rb

#initialize {|_self| ... } ⇒ Group

Creates and returns a new Group object. This class encapsulates the information for a group account, whether it be global or local.

Yields self if a block is given.

Yields:

  • (_self)

Yield Parameters:

  • _self (Sys::Group)

    the object that the method was called on



44
45
46
# File 'lib/windows/sys/admin.rb', line 44

def initialize
  yield self if block_given?
end