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#_split_segments
_split_segments
lib/rubygems/version.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/version.rb, line 411
def _split_segments
string_start = _segments.index {|s| s.is_a?(String) }
string_segments = segments
numeric_segments = string_segments.slice!(0, string_start || string_segments.size)
return numeric_segments, string_segments
end
No documentation available