Sha256: 44ae9acc040c89f79438a71657ebeceba415af1689e104129d84755b72595daa
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
module Sinatra module Contrib def self.version VERSION end SIGNATURE = [1, 3, 1] VERSION = SIGNATURE.join('.') VERSION.extend Comparable def VERSION.<=>(other) other = other.split('.').map { |i| i.to_i } if other.respond_to? :split SIGNATURE <=> Array(other) end end end
Version data entries
4 entries across 4 versions & 2 rubygems