Sha256: a81e9b6d60485d3ea16e5db75a9639704893bbdb8fe9dac08aa72572e1e522c4
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
# :nodoc: module Veritrans # hold version number of this library # it use class methods to generate it # # Example: # # Veritrans::Version.to_s class Version class <<self private # :nodoc: def major 1 end # :nodoc: def minor 1 end # :nodoc: def patch 3 end # :nodoc: def pre nil end end # ==== Return: # # * <tt>String</tt> - version information 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 |
---|---|
veritrans-1.1.3 | lib/veritrans/version.rb |