Module: SnailTrail::VERSION
- Defined in:
- lib/snail_trail/version_number.rb
Overview
The version number of the snail_trail gem. Not to be confused with ‘SnailTrail::Version`. Ruby constants are case-sensitive, apparently, and they are two different modules! It would be nice to remove `VERSION`, because of this confusion, but it’s not worth the breaking change. People are encouraged to use ‘SnailTrail.gem_version` instead.
Constant Summary collapse
- MAJOR =
1- MINOR =
2- TINY =
0- PRE =
Set PRE to nil unless it’s a pre-release (beta, rc, etc.)
nil- STRING =
[MAJOR, MINOR, TINY, PRE].compact.join(".").freeze
Class Method Summary collapse
Class Method Details
.to_s ⇒ Object
19 20 21 |
# File 'lib/snail_trail/version_number.rb', line 19 def self.to_s STRING end |