Hacker News new | past | comments | ask | show | jobs | submit login

Yes, good catch. join('\n') is wrong though - IO#lines preserves newlines, the default join is the empty string, and you meant "\n" :)



:)




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

Search: