# File lib/ezprint/processors/prince.rb, line 4 def self.process(html_string, options = {}) pdf = IO.popen(self.cmd(options), "w+") pdf.puts(self.process_html(html_string)) pdf.close_write result = pdf.gets(nil) pdf.close_read result end