Possible Duplicate:
What is the difference between Ruby and Python versions of“self”?
Ruby and Python are similar languages that both have a self keyword used in various situations. What does self mean in each language, and what are the differences?