ruby rake task factory class for gnuplot