mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
6ca4c4ca0a
Focus on removing @options. Delegate all actions to launcher.
11 lines
156 B
Ruby
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
|