From b0013b043a15d77d810d5965157766c1af364db2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 9 Jun 2009 16:22:55 -0700 Subject: Avoid duplicating the "Z" constant Trying not to repeat ourselves. Unfortunately, Ruby 1.9 forces us to actually care about encodings of arbitrary byte sequences. --- lib/unicorn/app/inetd.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/unicorn/app') diff --git a/lib/unicorn/app/inetd.rb b/lib/unicorn/app/inetd.rb index 4938508..54f8a86 100644 --- a/lib/unicorn/app/inetd.rb +++ b/lib/unicorn/app/inetd.rb @@ -6,9 +6,6 @@ module Unicorn::App class Inetd - Z = '' - Z.force_encoding(Encoding::BINARY) if Z.respond_to?(:force_encoding) - class CatBody def initialize(env, cmd) @cmd = cmd -- cgit v1.2.3-24-ge0c7