method

fu_get_gid

ruby latest stable - Class: Bundler::FileUtils

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

fu_get_gid(group)
public

No documentation available.

# File lib/bundler/vendor/fileutils/lib/fileutils.rb, line 1022
  def fu_get_gid(group)   #:nodoc:
    return nil unless group
    case group
    when Integer
      group
    when /\A\d+\z/
      group.to_i
    else
      Etc.getgrnam(group) ? Etc.getgrnam(group).gid : nil
    end
  end