Hacker News new | past | comments | ask | show | jobs | submit login

They are, which is why Ruby's Module (class comes from module) has attr_accessor method.

http://ruby-doc.org/core-1.9.3/Module.html#method-i-attr_acc...

The above can be written as

  attr_accessor :sanity



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: