module RuboCop::Cop::Layout::EmptyLinesAroundBody
def valid_body_style?(body)
def valid_body_style?(body) # When style is `empty_lines`, if the body is empty, we don't enforce # the presence OR absence of an empty line # But if style is `no_empty_lines`, there must not be an empty line body.nil? && style != :no_empty_lines end