about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/rev/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb
index eaff2c6..785990c 100644
--- a/lib/rainbows/rev/core.rb
+++ b/lib/rainbows/rev/core.rb
@@ -1,7 +1,7 @@
 # -*- encoding: binary -*-
 require 'rev'
 Rev::VERSION >= '0.3.0' or abort 'rev >= 0.3.0 is required'
-if IO::Buffer.respond_to?(:default_node_size=)
+IO::Buffer.respond_to?(:default_node_size=) and
   IO::Buffer.default_node_size = Rev::IO::INPUT_SIZE
 require 'rainbows/rev/heartbeat'