1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Mitigates Style/AmbiguousOperator

This commit is contained in:
Thomas Nys 2015-04-18 14:33:21 +02:00
parent 00c75591ad
commit 95bf12eb25

View file

@ -10,7 +10,7 @@ class BasicMongrelHandler < Mongrel::HttpHandler
end end
def process(request, response) def process(request, response)
instance_eval &preprocessor if preprocessor instance_eval(&preprocessor) if preprocessor
reply_with(response, response_code, response_body) reply_with(response, response_code, response_body)
end end