Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Beware subclassing Ruby core classes (steveklabnik.com)
6 points by jabo on May 31, 2014 | hide | past | favorite | 1 comment


Why would you think calling to_a on an object would NOT turn that into an array?? That's what to_a does




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: