Sha256: 51109538655adb337b0e33bf29105fdab5a54884e569be3506efa02f4909fbde

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Puma
  HAS_SSL = const_defined?(:MiniSSL, false) && MiniSSL.const_defined?(:Engine, false)

  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

1 entries across 1 versions & 1 rubygems

Version Path
piesync-puma-3.12.6.1 lib/puma/detect.rb