From 95bf12eb251e25a88748a2983061a22c3cd0f614 Mon Sep 17 00:00:00 2001 From: Thomas Nys Date: Sat, 18 Apr 2015 14:33:21 +0200 Subject: [PATCH] Mitigates Style/AmbiguousOperator --- features/steps/mongrel_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/mongrel_helper.rb b/features/steps/mongrel_helper.rb index 8f6105f..99713a5 100644 --- a/features/steps/mongrel_helper.rb +++ b/features/steps/mongrel_helper.rb @@ -10,7 +10,7 @@ class BasicMongrelHandler < Mongrel::HttpHandler end def process(request, response) - instance_eval &preprocessor if preprocessor + instance_eval(&preprocessor) if preprocessor reply_with(response, response_code, response_body) end