public Method

FileUtils.fu_get_gid(group)

There's no documentation for this item.

Source Code

# File fileutils.rb, line 985
def fu_get_gid(group)   #:nodoc:
  return nil unless group
  if /\A\d+\z/ =~ group
  then group.to_i
  else Etc.getgrnam(group).gid
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.