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-3.12.6 lib/puma/detect.rb
puma-4.3.4-java lib/puma/detect.rb
puma-3.12.5-java lib/puma/detect.rb
puma-3.12.5 lib/puma/detect.rb
puma-4.3.4 lib/puma/detect.rb
gitlab-puma-4.3.3.gitlab.2 lib/puma/detect.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/puma-4.3.0/lib/puma/detect.rb
puma-3.12.4-java lib/puma/detect.rb
puma-3.12.4 lib/puma/detect.rb
puma-4.3.3-java lib/puma/detect.rb
puma-4.3.3 lib/puma/detect.rb
gitlab-puma-4.3.1.gitlab.2 lib/puma/detect.rb
puma-3.12.2-java lib/puma/detect.rb
puma-3.12.2 lib/puma/detect.rb
puma-4.3.1-java lib/puma/detect.rb
puma-4.3.1 lib/puma/detect.rb
puma-4.3.0-java lib/puma/detect.rb
puma-4.3.0 lib/puma/detect.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/detect.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/detect.rb