Sha256: 0df06091cd1960468dea319cfdb1a023f8b5d89985b013999d8b1b9af658b3aa
Contents?: true
Size: 326 Bytes
Versions: 14
Compression:
Stored size: 326 Bytes
Contents
module Sinatra module Contrib def self.version VERSION end SIGNATURE = [1, 4, 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
14 entries across 14 versions & 2 rubygems