Sha256: 0f854a4848e8d081c2407a0c4037f81dae93e78eac35fbf4949af611c924d1fc

Contents?: true

Size: 159 Bytes

Versions: 6

Compression:

Stored size: 159 Bytes

Contents

module Puma
  IS_JRUBY = defined?(JRUBY_VERSION)

  def self.jruby?
    IS_JRUBY
  end

  def self.windows?
    RUBY_PLATFORM =~ /mswin|ming|cygwin/
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
puma-3.6.2-java lib/puma/detect.rb
puma-3.6.2 lib/puma/detect.rb
puma-3.6.1-java lib/puma/detect.rb
puma-3.6.1 lib/puma/detect.rb
puma-3.6.0-java lib/puma/detect.rb
puma-3.6.0 lib/puma/detect.rb