Replaced deprecated #lines with #each_line
Got rid of the compilation warnings
Merge pull request #6 from minivan/deprecated-method-fixes

Deprecated method fixes