Commit ee46adaa authored by Igor Wiedler's avatar Igor Wiedler

Fix rubocop Style/StabbyLambdaParentheses

parent 13a8d466
......@@ -22,7 +22,7 @@ unless Rails::Configuration::MiddlewareStackProxy.method_defined?(:move)
module Configuration
class MiddlewareStackProxy
def move(*args, &block)
@operations << -> middleware { middleware.send(__method__, *args, &block) }
@operations << ->(middleware) { middleware.send(__method__, *args, &block) }
end
ruby2_keywords(:move) if respond_to?(:ruby2_keywords, true)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment