Update lib/quacky/line_graph_builder.rb

Compatible with ruby version less than 1.9.