method

expand

ruby latest stable - Class: Gem::PathSupport

Method not available on this version

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

expand(path)
private

No documentation available.

# File lib/rubygems/path_support.rb, line 83
  def expand(path)
    if File.directory?(path)
      File.realpath(path)
    else
      path
    end
  end