Sha256: 0c881b77ed0f2a1f5743983095ff2aa9fca98c0a803c99224f959721c115f6fb
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
module Staticpress class Version extend Comparable SIGNATURE = [0, 7, 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.7.0 | lib/staticpress/version.rb |