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