Module: Version

Defined in:
app/models/tog/depot/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
3
TINY =
0
MODULE =
"tog_depot"
STRING =
[MAJOR, MINOR, TINY].join('.')

Class Method Summary collapse

Class Method Details

.full_versionObject



12
13
14
# File 'app/models/tog/depot/version.rb', line 12

def full_version
  "#{MODULE} #{STRING}"
end

.to_sObject Also known as: to_str



9
10
11
# File 'app/models/tog/depot/version.rb', line 9

def to_s
  STRING
end