Sha256: bfe90a068e8783b71704484d6ad06706e5b8950dcd0448b321243a263ce06cca
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
module Staticpress class Version extend Comparable SIGNATURE = [0, 6, 0] def self.<=>(other) other = other.split('.').map(&:to_i) if other.respond_to? :split SIGNATURE <=> Array(other) end def self.to_s SIGNATURE.join('.') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
staticpress-0.6.0 | lib/staticpress/version.rb |