ruby-win32/lib/ruby/site_ruby/1.8/rubygems.rb
# Return a list of all possible load paths for all versions for
# all gems in the Gem installation.
#
Return a list of all possible load paths for all versions for
all gems in the Gem installation.
Return a list of all possible load paths for all versions for all gems in the Gem installation .
def all_load_paths
      result = []
      Gem.path.each do |gemdir|
        each_load_path(all_partials(gemdir)) do |load_path|
          result << load_path
        end
      end
      result
    end
def all_load_paths result = [ ] Gem . path . each do | gemdir | each_load_path ( all_partials ( gemdir ) ) do | load_path | result << load_path end end result end
Return a list of all possible load paths for all versions for
all gems in the Gem installation.
Return a list of all possible load paths for all versions for all gems in the Gem installation .