method
fu_get_gid
v1_8_7_330 -
Show latest stable
- Class:
FileUtils
fu_get_gid(group)public
No documentation available.
# File lib/fileutils.rb, line 986
def fu_get_gid(group) #:nodoc:
return nil unless group
group = group.to_s
if /\A\d+\z/ =~ group
then group.to_i
else Etc.getgrnam(group).gid
end
end