Basically they fake publicly accessible data attributes, which Ruby doesn't have.
http://stackoverflow.com/a/4370996 http://stackoverflow.com/a/4371458
http://stackoverflow.com/a/4371087
Ruby book
http://www-rohan.sdsu.edu/doc/ruby/chp_04/classes.html
http://stackoverflow.com/a/4370996 http://stackoverflow.com/a/4371458
http://stackoverflow.com/a/4371087
Ruby book
http://www-rohan.sdsu.edu/doc/ruby/chp_04/classes.html
No comments:
Post a Comment