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) ...@@ -22,7 +22,7 @@ unless Rails::Configuration::MiddlewareStackProxy.method_defined?(:move)
module Configuration module Configuration
class MiddlewareStackProxy class MiddlewareStackProxy
def move(*args, &block) def move(*args, &block)
@operations << -> middleware { middleware.send(__method__, *args, &block) } @operations << ->(middleware) { middleware.send(__method__, *args, &block) }
end end
ruby2_keywords(:move) if respond_to?(:ruby2_keywords, true) ruby2_keywords(:move) if respond_to?(:ruby2_keywords, true)
end 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