method
spec_matches_for_glob
ruby latest stable - Class:
Bundler::RubygemsIntegration
spec_matches_for_glob(spec, glob)public
No documentation available.
# File lib/bundler/rubygems_integration.rb, line 88
def spec_matches_for_glob(spec, glob)
return spec.matches_for_glob(glob) if spec.respond_to?(:matches_for_glob)
spec.load_paths.map do |lp|
Dir["#{lp}/#{glob}#{suffix_pattern}"]
end.flatten(1)
end