Module: SurveyMonkey::Style::Version

Defined in:
lib/surveymonkey/style/version.rb

Overview

Semantic versioning

Constant Summary collapse

MAJOR =
0
MINOR =
1
PATCH =
1
PRE_RELEASE =
nil

Class Method Summary collapse

Class Method Details

.to_sstring

Current semantic version of the gem

Examples:

"surveymonkey-style #{SurveyMonkey::Style::Version} has been loaded!"

Returns:

  • (string)

    Current semantic version of the gem



21
22
23
# File 'lib/surveymonkey/style/version.rb', line 21

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