I'm working on a challenge that tells me that the input is given at the
beginning via STDIN. Thus, these are the first few lines of my program:

all_input = gets
all_input = all_input.to_s.split("\n")

The input is going to be split by separate lines, and I want to put each
into a separate element in an array. Now, this code works in irb (modified
to look more like str = soandso, str = str.to_s.split.....), but when I run
it in my program, everything gets thrown into one element in the array. Can
someone tell me why?

-- 
Reese Chappuis