From: Tim Becker Date: 2006-05-24T01:08:28+09:00 Subject: Re: Read File Into An Array > Why do you settly with a complicated version? IO.readlines() will > perfectly suit your needs. Of course `readlines` suits his needs, but it doesn't explain why the original code wasn't working. Codeblocks don't exist in mainstream programming languages which makes the concept hard to grasp for people starting ruby. At that stage of learning it's probably more helpful to learn why the way you're trying to it doesn't work that to hear that there is a MUCH easier, but completely different way that does work. On the other hand, I guess it's helpful to learn more about the standard library as well... -tim