method

_split_segments

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Version
_split_segments() protected

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/version.rb, line 392
  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
Register or log in to add new notes.