Sha256: 8121cad394c33e636eca517dd2af3d6e9dab06bf6e57298e1cbce2a98e629dcf
Contents?: true
Size: 262 Bytes
Versions: 9
Compression:
Stored size: 262 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
9 entries across 9 versions & 1 rubygems