Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::NameTuple#eql?

eql?(other)

Alias of #==

Compare with other. Supports another NameTuple or an Array in the [name, version, platform] format.

See also #== #full_name #<=> #hash also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0