Sha256: 380cdc28a870d7e4da0a36b1c5b23fb7d3e9078be7942f26ec0ec9bcebb3f391
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 = "beta2" 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.beta2 | lib/watch_tower/version.rb |