Sha256: b21b9be0f79fca76470ebe94cb52654511ecafdb090dda81b934026306f9395a
Contents?: true
Size: 658 Bytes
Versions: 2
Compression:
Stored size: 658 Bytes
Contents
module Thin # Raised when a feature is not supported on the # current platform. class PlatformNotSupported < RuntimeError; end module VERSION #:nodoc: MAJOR = 0 MINOR = 7 TINY = 1 STRING = [MAJOR, MINOR, TINY].join('.') CODENAME = 'Fancy Pants' RACK = [0, 3].freeze # Latest Rack version that was tested end NAME = 'thin'.freeze SERVER = "#{NAME} #{VERSION::STRING} codename #{VERSION::CODENAME}".freeze def self.win? RUBY_PLATFORM =~ /mswin/ end def self.linux? RUBY_PLATFORM =~ /linux/ end def self.ruby_18? RUBY_VERSION =~ /^1\.8/ end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thin-0.7.1-x86-mswin32-60 | lib/thin/version.rb |
thin-0.7.1 | lib/thin/version.rb |