Sha256: 891ce7d7d7feb7e97c648f3116b8e45b9b22d524a4a9574425673e6ae343e23d
Contents?: true
Size: 328 Bytes
Versions: 1
Compression:
Stored size: 328 Bytes
Contents
# -*- encoding: utf-8 -*- module WatchTower MAJOR = 0 MINOR = 0 TINY = 1 PRE = 'beta7' def self.version # Init the version version = [MAJOR, MINOR, TINY] # Add the pre if available version << PRE unless PRE.nil? || PRE !~ /\S/ # Return the version joined by a dot version.join('.') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watch_tower-0.0.1.beta7 | lib/watch_tower/version.rb |