Module: Sycamore::VERSION
- Defined in:
- lib/sycamore/version.rb
Overview
version representation
Constant Summary collapse
- FILE =
the file containing the project version number
File.("../../../VERSION", __FILE__)
- STRING =
the normalized version string
[MAJOR, MINOR, TINY, EXTRA].compact.join(".").freeze
Class Method Summary collapse
Class Method Details
.==(other) ⇒ Boolean
30 31 32 |
# File 'lib/sycamore/version.rb', line 30 def self.==(other) other == to_s end |
.to_a ⇒ Array(Integer, Integer, Integer)
24 25 26 |
# File 'lib/sycamore/version.rb', line 24 def self.to_a [MAJOR, MINOR, TINY] end |