Sha256: 5bad64bcb492129236584753f2911f8f1168d26d01caa3ddb2e9c5b6549969fb

Contents?: true

Size: 186 Bytes

Versions: 35

Compression:

Stored size: 186 Bytes

Contents

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

35 entries across 33 versions & 3 rubygems

Version Path
puma-3.9.0-java lib/puma/detect.rb
puma-3.9.0 lib/puma/detect.rb
tdiary-5.0.4 vendor/bundle/gems/puma-3.8.2/lib/puma/detect.rb
puma-3.8.2-java lib/puma/detect.rb
puma-3.8.2 lib/puma/detect.rb
puma-3.8.1-java lib/puma/detect.rb
puma-3.8.1 lib/puma/detect.rb
puma-3.8.0-java lib/puma/detect.rb
puma-3.8.0 lib/puma/detect.rb
puma-simon-3.7.2 lib/puma/detect.rb
puma-simon-3.7.1 lib/puma/detect.rb
puma-3.7.1-java lib/puma/detect.rb
puma-3.7.1 lib/puma/detect.rb
puma-3.7.0-java lib/puma/detect.rb
puma-3.7.0 lib/puma/detect.rb