Let's consider the following class:
class App
def call
# ...
end
private
def foo
# ...
end
def bar
# ...
end
end
Is it possible to configure rubocop
to 'complain' about Metrics/AbcSize
for all methods when Assignment Branch Condition size
is higher than 15 with an exception for call
methods?
For call
methods it should 'complain' only if Assignment Branch Condition size
is higher than 30.
Thanks in advance.