Class: Crowbar::Client::Version
- Inherits:
-
Object
- Object
- Crowbar::Client::Version
- Defined in:
- lib/crowbar/client/version.rb
Overview
A representation of the current Crowbar CLI version
Constant Summary collapse
- MAJOR =
Major version
3- MINOR =
Minor version
9- PATCH =
Patch version
3- PRE =
Optional suffix
nil
Class Method Summary collapse
-
.to_s ⇒ String
Convert the Crowbar CLI version to a string.
Class Method Details
.to_s ⇒ String
Convert the Crowbar CLI version to a string
49 50 51 |
# File 'lib/crowbar/client/version.rb', line 49 def to_s [MAJOR, MINOR, PATCH, PRE].compact.join(".") end |