# File temp/Graph/Graph.rb, line 177 def burn raise "No data available" unless @data.size > 0 calculations if methods.include? 'calculations' data = get_svg if @config[:compress] if @@__have_zlib inp, out = IO.pipe gz = Zlib::GzipWriter.new( out ) gz.write data gz.close data = inp.read else data << "<!-- Ruby Zlib not available for SVGZ -->"; end end return data end