Class: Version::PreToken Private

Inherits:
CompositeToken show all
Defined in:
version.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

A token representing the part of a version designating it as a pre-release.

Constant Summary collapse

PATTERN =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

/pre[0-9]*/i

Instance Attribute Summary

Attributes inherited from StringToken

#value

Attributes inherited from Token

#value

Method Summary

Methods inherited from CompositeToken

#rev

Methods inherited from StringToken

#initialize

Methods inherited from Token

#blank?, create, from, #initialize, #null?, #numeric?, #to_f, #to_i, #to_str

Constructor Details

This class inherits a constructor from Version::StringToken