Class: Puppet::Util::RubyGems::OldGemsSource Private

Inherits:
Source show all
Defined in:
lib/puppet/util/rubygems.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

RubyGems < 1.8.0

Instance Method Summary collapse

Methods inherited from Source

has_rubygems?, new, source

Instance Method Details

#clear_pathsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



61
62
63
# File 'lib/puppet/util/rubygems.rb', line 61

def clear_paths
  Gem.clear_paths
end

#directoriesObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



57
58
59
# File 'lib/puppet/util/rubygems.rb', line 57

def directories
  @paths ||= Gem.latest_load_paths
end