Sha256: 6f03076918a479dc385da9c99131135acfa62554d083f6cb2790a842930b21a4
Contents?: true
Size: 660 Bytes
Versions: 1
Compression:
Stored size: 660 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 = 8 TINY = 0 STRING = [MAJOR, MINOR, TINY].join('.') CODENAME = 'Dodgy Dentist' 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 |
---|---|
thin-0.8.0 | lib/thin/version.rb |