Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't think of a situation when I'd need a method like Proc/Method#to_source, especially in everyday Ruby usage. That's probably why it's not being talked about as much as some of the other new features.


I can't find any info on these method right now, but assuming they do the obvious, it's useful for all sorts of tooling and debugging situations. Situations you might not write the code for but almost certainly will use.




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

Search: