class Crowbar::Client::Version

A representation of the current Crowbar CLI version

Constants

MAJOR

Major version

MINOR

Minor version

PATCH

Patch version

PRE

Optional suffix

Public Class Methods

to_s() click to toggle source

Convert the Crowbar CLI version to a string

@return [String] the version of Crowbar CLI

# File lib/crowbar/client/version.rb, line 49
def to_s
  [MAJOR, MINOR, PATCH, PRE].compact.join(".")
end