Class: Diversion::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/diversion/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
0
PATCH =
1
PRE =
nil

Class Method Summary collapse

Class Method Details

.to_sString

Returns:

  • (String)


11
12
13
# File 'lib/diversion/version.rb', line 11

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