ryanb/ruby-warrior — comment on commit b6ea19ec467024687eacbe41297c9d0b5f4ac149
File:  line 0
By robodisco:

Im learning ruby so aplogies in advance if this is a stupid question but why do you assign STDIN and STDOUT to instance variables? Is this purely to make testing user input easier or is there another benefit?