mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Mitigates Style/AmbiguousOperator
This commit is contained in:
parent
00c75591ad
commit
95bf12eb25
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue