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