1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma/detect.rb
schneems 6ca4c4ca0a Move more logic out of CLI
Focus on removing @options. Delegate all actions to launcher.
2016-02-04 16:55:10 -06:00

11 lines
156 B
Ruby

module Puma
IS_JRUBY = defined?(JRUBY_VERSION)
def self.jruby?
IS_JRUBY
end
def self.windows?
RUBY_PLATFORM =~ /mswin32|ming32/
end
end