Class: Puppet::Util::RubyGems::Gems18Source Private
- 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.
For RubyGems >= 1.8.0
Instance Method Summary collapse
- #directories ⇒ Object private
Methods inherited from Source
Instance Method Details
#directories ⇒ Object
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.
41 42 43 44 45 46 47 |
# File 'lib/puppet/util/rubygems.rb', line 41 def directories # `require 'mygem'` will consider and potentally load # prerelease gems, so we need to match that behavior. Gem::Specification.latest_specs(true).collect do |spec| File.join(spec.full_gem_path, 'lib') end end |