Flowdock
method

canonical_segments

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Version
canonical_segments() public

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 363
  def canonical_segments
    @canonical_segments ||=
      _split_segments.map! do |segments|
        segments.reverse_each.drop_while {|s| s == 0 }.reverse
      end.reduce(&:concat)
  end
Register or log in to add new notes.