class RuboCop::Cop::RSpec::EmptyLineAfterFinalLet

def on_block(node)

def on_block(node)
  return unless example_group_with_body?(node)
  latest_let = node.body.child_nodes.select { |child| let?(child) }.last
  return if latest_let.nil?
  return if latest_let.equal?(node.body.children.last)
  no_new_line_after(latest_let) do
    add_offense(latest_let, location: :expression)
  end
end