Hacker News new | past | comments | ask | show | jobs | submit login
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




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: