module RuboCop::Cop::Style::EmptyLinesAroundBody
def check_both(start_line, end_line, msg, &block)
def check_both(start_line, end_line, msg, &block) kind = self.class::KIND check_line(start_line, format(msg, kind, 'beginning'), &block) check_line(end_line - 2, format(msg, kind, 'end'), &block) end