From c4d92b384dd3f926fa12eb704eeef663a9cb7b66 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 26 Dec 2010 23:52:43 +0000 Subject: more :: prefix elimination This should make things easier on the eyes. --- lib/rainbows/revactor/body.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/revactor') diff --git a/lib/rainbows/revactor/body.rb b/lib/rainbows/revactor/body.rb index 1dd01f2..ad2bc55 100644 --- a/lib/rainbows/revactor/body.rb +++ b/lib/rainbows/revactor/body.rb @@ -9,7 +9,7 @@ module Rainbows::Revactor::Body if IO.method_defined?(:sendfile_nonblock) def write_body_file(client, body, range) sock = client.instance_variable_get(:@_io) - pfx = ::Revactor::TCP::Socket === client ? :tcp : :unix + pfx = Revactor::TCP::Socket === client ? :tcp : :unix write_complete = T[:"#{pfx}_write_complete", client] closed = T[:"#{pfx}_closed", client] offset, count = range ? range : [ 0, body.stat.size ] -- cgit v1.2.3-24-ge0c7