End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Specification#to_ruby_for_cache
to_ruby_for_cache
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification.rb, line 2508
def to_ruby_for_cache
for_cache.to_ruby
end
Returns a Ruby lighter-weight code representation of this specification, used for indexing only.
See to_ruby.