Self drawing line

Hi,

How can i create an animation of a line drawing itself.

Thanks,
Aruna