End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Requirement#concat
concat(new)
lib/rubygems/requirement.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/requirement.rb, line 145
def concat(new)
new = new.flatten
new.compact!
new.uniq!
new = new.map {|r| self.class.parse r }
@requirements.concat new
end
Concatenates the new requirements onto this requirement.