End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::APISet#lines
lines(str)
lib/rubygems/resolver/api_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/resolver/api_set.rb, line 122
def lines(str)
lines = str.split("\n")
header = lines.index("---")
header ? lines[header + 1..-1] : lines
end
No documentation available