Ruby being Ruby, I expect something smaller and less retard than my state_after method here: http://ix.io/1RwX
I just need a method to iterate. I never said I wanted to print. #cycle is completely useless. What I need is exactly what is doing the state_after method. I just know that it can be written smarter. Forget about it guys...
it cycles indefinitely, I don't want that. Just look at what state_after does. I don't know what else to tell you.
I'm wondering why Ruby designers did not plan to make "and" and "or" simple synonyms for "&&" and "||" yet, since everyone complains about and the former would make the code even more readable.
havenwood: hum nevermind. ARGF reads the content of the given filenames as arguments, or, the content of a file piped through stdin. I was looking for simply merging words from either $@ or stdin.