Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Specification.gemspec_stubs_in
gemspec_stubs_in(dir, pattern) { |path| ... }
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/specification.rb, line 791
def self.gemspec_stubs_in(dir, pattern)
Gem::Util.glob_files_in_dir(pattern, dir).map {|path| yield path }.select(&:valid?)
end
No documentation available
See also
.from_yaml
.installed_stubs
.find_in_unresolved_tree
.latest_spec_for
also in
3.2 · 3.1 · 3.0