Skip to content

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

instance method

Gem::Version#eql?

eql?(other)

A Version is only eql? to another version if it’s specified to the same precision. Version “1.0” is not the same as version “1”.

See also #canonical_segments #freeze #bump #marshal_dump also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0