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

> As a non-Ruby programmer, this sounds like it makes it non-obvious whether you're calling a class' method or attribute.

“Attributes” in Ruby are just methods that do attribute-like things, so there is no ambiguity: it is always a method.



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

Search: