Class: Azure::Storage::Common::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage/common/version.rb

Constant Summary collapse

MAJOR =

Fields represent the parts defined in semver.org/

1
MINOR =
1
UPDATE =
0

Class Method Summary collapse

Class Method Details

.to_sString

Returns:



38
39
40
# File 'lib/azure/storage/common/version.rb', line 38

def to_s
  [MAJOR, MINOR, UPDATE].compact.join(".")
end

.to_uasObject



42
43
44
# File 'lib/azure/storage/common/version.rb', line 42

def to_uas
  [MAJOR, MINOR, UPDATE].join(".")
end