1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Add a jruby_-prefixed method alias to conditional method (#2104)

- This is a documentation edge-case
This commit is contained in:
Olle Jonsson 2020-02-07 17:40:04 +01:00 committed by GitHub
parent 0e29988b96
commit 5a1b922583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,6 +238,9 @@ module Puma
return false unless IO.select([@to_io], nil, nil, 0)
try_to_finish
end
# For documentation, see https://github.com/puma/puma/issues/1754
send(:alias_method, :jruby_eagerly_finish, :eagerly_finish)
end # IS_JRUBY
def finish