Module: FalkorLib::Version

Defined in:
lib/falkorlib/version.rb

Overview

Management of the current version of the library

See Also:

  • falkorlib/tasks/versioningfalkorlib/tasks/versioning.rake

Class Method Summary collapse

Class Method Details

.majorObject

Returns the major version ( big release based off of multiple minor releases )



27
28
29
# File 'lib/falkorlib/version.rb', line 27

def major
  MAJOR
end

.minorObject

Returns the minor version ( small release based off of multiple patches )



32
33
34
# File 'lib/falkorlib/version.rb', line 32

def minor
  MINOR
end

.patchObject

Returns the patch version ( updates, features and (crucial) bug fixes )



37
38
39
# File 'lib/falkorlib/version.rb', line 37

def patch
  PATCH
end

.to_sObject

Returns the full version string.

Returns:

  • the full version string



42
43
44
# File 'lib/falkorlib/version.rb', line 42

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