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
24 25 26 |
# File 'lib/sycamore/version.rb', line 24 def self.==(other) other == self.to_s end |
.to_a ⇒ Array(Integer, Integer, Integer)
20 |
# File 'lib/sycamore/version.rb', line 20 def self.to_a() [MAJOR, MINOR, TINY] end |