Module: Encryptor::Version

Defined in:
lib/encryptor/version.rb

Overview

Contains information about this gem's version

Constant Summary collapse

MAJOR =
2
MINOR =
0
PATCH =
0

Class Method Summary collapse

Class Method Details

.to_sObject

Returns a version string by joining MAJOR, MINOR, and PATCH with '.'

Example

Version.to_s # '1.0.2'

13
14
15
# File 'lib/encryptor/version.rb', line 13

def self.to_s
  [MAJOR, MINOR, PATCH].join('.')
end