Update lib/quacky/line_graph_builder.rb

Compatible with ruby version less than 1.9.
Merge pull request #5 from wangsheng/master

Update lib/quacky/line_graph_builder.rb