Sha256: 03d7dac6ff6de9a44377332c2ff01beb31154147a877dc7bdb768c3d9c37b84c
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
module T class Version # @return [Integer] def self.major 1 end # @return [Integer] def self.minor 3 end # @return [Integer] def self.patch 0 end # @return [String, NilClass] def self.pre nil end # @return [String] def self.to_s [major, minor, patch, pre].compact.join('.') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
t-1.3.0 | lib/t/version.rb |