Class: Azure::Storage::File::Version

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

Constant Summary collapse

MAJOR =

Fields represent the parts defined in semver.org/

2
MINOR =
0
UPDATE =
4

Class Method Summary collapse

Class Method Details

.to_sString

Returns:

  • (String)


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

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

.to_uasObject



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

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