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