Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, it is a plain old method being executed in the context of the current class. It creates new class methods which can be used to read, but not write, instance variables.

There are methods to create read-write and (I think? write-only) properties as well.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: