End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#default_gem?
default_gem?
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/basic_specification.rb, line 89
def default_gem?
loaded_from &&
File.dirname(loaded_from) == Gem.default_specifications_dir
end
No documentation available
See also
#datadir
#extension_dir
#contains_requirable_file?
#extensions_dir
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1