Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A handy ruby trick: Class.new (codeulate.com)
3 points by r00k on Feb 2, 2011 | hide | past | favorite | 1 comment


I discovered a handy way of making throwaway classes this afternoon using Class.new. I thought it might be new to others too.




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

Search: