Sha256: b3bd24e08229aae8ffb5f8caa083d4661363706daa4ce9ed6442ac23527752cd

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 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    = 6
    TINY     = 2
    
    STRING   = [MAJOR, MINOR, TINY].join('.')
    
    CODENAME = 'Rambo'
  end
  
  def self.win?
    RUBY_PLATFORM =~ /mswin/
  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.6.2-x86-mswin32-60 lib/thin/version.rb
thin-0.6.2 lib/thin/version.rb