Hacker News
new
past
comments
ask
show
jobs
Moment of Ruby: An Argument for Nothing
(www.aha.io)
23 points
by
zemptime
2 days ago
|
1 comments
by
matharmin
3 minutes ago
|
[-]
It's an interesting trick, but for a setter method you really need to use `def cloaking=(value)` instead of overloading the same method. It would help to give a more realistic example for where this technique can be useful.
reply