Sha256: bc16684edb6a6a53035a18eda1807d9883b70a66533abe81b11725624e2c5190

Contents?: true

Size: 217 Bytes

Versions: 54

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true

module Puma
  IS_JRUBY = defined?(JRUBY_VERSION)

  def self.jruby?
    IS_JRUBY
  end

  IS_WINDOWS = RUBY_PLATFORM =~ /mswin|ming|cygwin/

  def self.windows?
    IS_WINDOWS
  end
end

Version data entries

54 entries across 54 versions & 5 rubygems

Version Path
puma-4.3.12-java lib/puma/detect.rb
puma-4.3.12 lib/puma/detect.rb
puma-4.3.11-java lib/puma/detect.rb
puma-4.3.11 lib/puma/detect.rb
puma-4.3.10-java lib/puma/detect.rb
puma-4.3.10 lib/puma/detect.rb
puma-4.3.9 lib/puma/detect.rb
puma-4.3.9-java lib/puma/detect.rb
puma-4.3.8-java lib/puma/detect.rb
puma-4.3.8 lib/puma/detect.rb
puma-4.3.7-java lib/puma/detect.rb
puma-4.3.7 lib/puma/detect.rb
piesync-puma-3.12.6 lib/puma/detect.rb
puma-4.3.6-java lib/puma/detect.rb
puma-4.3.6 lib/puma/detect.rb
gitlab-puma-4.3.5.gitlab.3 lib/puma/detect.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/puma-4.3.0/lib/puma/detect.rb
puma-4.3.5-java lib/puma/detect.rb
puma-4.3.5 lib/puma/detect.rb
puma-3.12.6-java lib/puma/detect.rb