Real teammate Xabi Alonso struck twice in the victory.
"The good thing about football is you have always have a chance for revenge and today was our moment [against France]," Ramos told reporters after the game.
"This Spain team have taken a step forward - we showed what we are all about in this victory and we are in the semi-finals now.
"We have to carry this on all the way to the final.
"We can't rest on our laurels because every game is a final and Portugal have done really well to get to the semi-finals, so it will be difficult."