Aug 31, 2018 · 1 min read
There is another convenient way of disabling for a specific “code block” (module, class, method, etc):
def very_long_method # rubocop:disable Metrics/LineLength,...
...
endThis is useful since it saves you from writing the comment to re-enable the cop
