Module: Metafusion::Crypto::Version

Defined in:
lib/metafusion/crypto/version.rb

Overview

version.rb contains Metafusion::Crypto::Version that provides helper methods related to versioning of the Metafusion::Crypto4R project.

Constant Summary collapse

MAJOR =

:nodoc:

0
MINOR =
1
REVISION =
0

Class Method Summary collapse

Class Method Details

.to_nameObject

Returns X-Y-Z formatted version name



15
16
17
# File 'lib/metafusion/crypto/version.rb', line 15

def to_name
  "#{MAJOR}_#{MINOR}_#{REVISION}"
end

.to_versionObject

Returns X.Y.Z formatted version string



10
11
12
# File 'lib/metafusion/crypto/version.rb', line 10

def to_version
  "#{MAJOR}.#{MINOR}.#{REVISION}"
end