Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created January 13, 2009 19:21
Show Gist options
  • Select an option

  • Save methodmissing/46572 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/46572 to your computer and use it in GitHub Desktop.
IO.popen( "prince_whatever", "r+" ) do |pipe|
pipe.puts( _html )
pipe.gets
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment