instance method
Gem::SpecificationRecord#map_stubs
map_stubs(pattern) { |path, base_dir, gems_dir| ... }
lib/rubygems/specification_record.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/specification_record.rb, line 204
def map_stubs(pattern)
@dirs.flat_map do |dir|
base_dir = File.dirname dir
gems_dir = File.join base_dir, "gems"
Gem::Specification.gemspec_stubs_in(dir, pattern) {|path| yield path, base_dir, gems_dir }
end
end
No documentation available