Ramsey pleased with tough win