Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Simplest way to assign attribute values from constructor (initializer) in Ruby (gregosuri.com)
1 point by gosuri on June 20, 2010 | hide | past | favorite | 2 comments


You need to try running code before posting it anyplace.

"initalize" is not going to work.


sorry about the typo.. its initialize




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

Search: