diff options
author | Eric Wong <e@80x24.org> | 2015-02-05 17:31:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-02-05 17:34:37 +0000 |
commit | baab2fc0600c284bf5108a9d9b02b774174ded5d (patch) | |
tree | e57c8d7ea599960b06666469a40283e01200754e /lib/unicorn/util.rb | |
parent | 682c9ffa365a2cf5439845be6e0e693d352cfe94 (diff) | |
download | unicorn-baab2fc0600c284bf5108a9d9b02b774174ded5d.tar.gz |
IO#close_on_exec* methods are available since Ruby 1.9.1. It allows us to use less bytecode as it requires fewer operands and avoids constant lookups.
Diffstat (limited to 'lib/unicorn/util.rb')
-rw-r--r-- | lib/unicorn/util.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index 94c4e37..c7784bd 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -1,5 +1,6 @@ # -*- encoding: binary -*- +require 'fcntl' module Unicorn::Util # :stopdoc: |