Sha256: 3ec26d68449af68bad4b59dc2364fb2f1ab305d01e27c9b5a634dd4f43b5fc5c
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
module Thin # Raised when a feature is not supported on the # current platform. class PlatformNotSupported < RuntimeError; end module VERSION #:nodoc: MAJOR = 1 MINOR = 0 TINY = 1 STRING = [MAJOR, MINOR, TINY].join('.') CODENAME = "?".freeze 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
macournoyer-thin-1.0.1 | lib/thin/version.rb |