In theory, the air coming into a CAI would be measurably cooler than the air from a short ram under the hood, and it gets sucked into the engine so fast that it's not going to heat up a substantial amount before it gets to the engine. With that said, also realize that the engine bay is not sealed air tight. This is not the most amazing aerodyamic car we're talking about here. It's easy for fresh air to get under the hood and circulate around the engine bay.
Honestly, you probably won't feel any difference between a CAI and short ram, and in all seriousness, it's only an air intake. No huge power gains to be had here.
__________________
|