Module: AttrEncrypted::Version
- Defined in:
- lib/attr_encrypted/version.rb
Overview
Contains information about this gem’s version
Constant Summary collapse
- MAJOR =
4- MINOR =
1- PATCH =
0
Class Method Summary collapse
-
.string ⇒ Object
Returns a version string by joining
MAJOR,MINOR, andPATCHwith'.'.
Class Method Details
.string ⇒ Object
Returns a version string by joining MAJOR, MINOR, and PATCH with '.'
Example
Version.string # '1.0.2'
15 16 17 |
# File 'lib/attr_encrypted/version.rb', line 15 def self.string [MAJOR, MINOR, PATCH].join('.') end |