Module: BareTest::VERSION
- Defined in:
- lib/baretest/version.rb
Overview
The version of the baretest library
Constant Summary collapse
- MAJOR =
The major version number
0
- MINOR =
The minor version number
4
- TINY =
The tiny version number
1
- PRERELEASE =
Prerelease number - nil for release versions
nil
- STRING =
The version as a string
%{#{MAJOR}.#{MINOR||0}.#{TINY||0}#{".pre#{PRERELEASE}" if PRERELEASE}}
- ARRAY =
The version as an array
[MAJOR || 0, MINOR || 0, TINY || 0, PRERELEASE].compact
Class Method Summary collapse
-
.to_a ⇒ Object
The version as an array.
-
.to_s ⇒ Object
The version as a string.