method
find_files_from_load_path
v2_4_6 -
Show latest stable
- Class:
Gem
find_files_from_load_path(glob)public
No documentation available.
# File lib/rubygems.rb, line 517
def self.find_files_from_load_path glob # :nodoc:
$LOAD_PATH.map { |load_path|
Dir["#{File.expand_path glob, load_path}#{Gem.suffix_pattern}"]
}.flatten.select { |file| File.file? file.untaint }
end