Fixed error on consecutive numbering

Hi,

I just went through your article about rcat. After trying to run your tests I noticed a failing test on multiple input files.

I fixed this by changing 
      @line_number = 1
to
      @line_number ||= 1

Now all tests are passing