Module: PaperTrail::VERSION
- Defined in:
- lib/paper_trail/version_number.rb
Overview
The version number of the paper_trail gem. Not to be confused with ‘PaperTrail::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 ‘PaperTrail.gem_version` instead.
Constant Summary collapse
- MAJOR =
10
- MINOR =
3
- TINY =
1
- 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/paper_trail/version_number.rb', line 19 def self.to_s STRING end |