Sha256: 1feaeacd867ba75385924fd38104b8eec3cac89332a0b28a60ba1ac54118d355
Contents?: true
Size: 269 Bytes
Versions: 3
Compression:
Stored size: 269 Bytes
Contents
module !{upper} module Version MAJOR = +{version.split('.')[0].to_i} MINOR = +{version.split('.')[1].to_i} TINY = +{version.split('.')[2].to_i} def self.to_s [ MAJOR, MINOR, TINY ].join('.') end end VERSION = Version.to_s end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
noe-1.5.0 | templates/ruby/src/lib/__lower__/version.rb |
noe-1.4.0 | templates/ruby/src/lib/__lower__/version.rb |
noe-1.3.0 | templates/ruby/src/lib/__lower__/version.rb |