Skip to content
instance method

Gem::Version#eql?

(untyped other) -> bool
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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0