ruby-win32/lib/ruby/site_ruby/1.8/rubygems.rb
def path
      @gem_path ||= nil
      unless @gem_path
        paths = [ENV['GEM_PATH']]
        paths << APPLE_GEM_HOME if defined? APPLE_GEM_HOME
        set_paths(paths.compact.join(File::PATH_SEPARATOR))
      end
      @gem_path
    end
# List of directory paths to search for Gems.
#
# return:: [List<String>] List of directory paths.
#
List of directory paths to search for Gems.
return:: [List] List of directory paths.
List of directory paths to search for Gems . return :: [ List ] List of directory paths .
def path
      @gem_path ||= nil
      unless @gem_path
        paths = [ENV['GEM_PATH']]
        paths << APPLE_GEM_HOME if defined? APPLE_GEM_HOME
        set_paths(paths.compact.join(File::PATH_SEPARATOR))
      end
      @gem_path
    end
def path @gem_path ||= nil unless @gem_path paths = [ ENV [ 'GEM_PATH' ] ] paths << APPLE_GEM_HOME if defined? APPLE_GEM_HOME set_paths ( paths . compact . join ( File :: PATH_SEPARATOR ) ) end @gem_path end
List of directory paths to search for Gems.
List of directory paths to search for Gems .