Sha256: facac5156ac00ae7caa7f31e6866db5429f5c3576a8fc3964b960975e87ebf41

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

module RTM # :nodoc:
  module VERSION # :nodoc:    
    unless defined? MAJOR
      DATE = [2010, 2, 5]
      ISODATE = "%04d-%02d-%02d" % DATE # => "2010-01-26"
      COMPACTDATE = "%04d%02d%02d" % DATE # => "20100126"

      MAJOR  = 0
      MINOR  = 2
      TINY   = 0
      BUILD  = COMPACTDATE

      STRING = [MAJOR, MINOR, TINY ].compact.join('.')

      SUMMARY = "rtm #{STRING}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtm-0.2.0 lib/rtm/version.rb