Skip to content

Instantly share code, notes, and snippets.

@alkema
Created November 15, 2011 17:36
Show Gist options
  • Save alkema/1367728 to your computer and use it in GitHub Desktop.
Save alkema/1367728 to your computer and use it in GitHub Desktop.
rexml xml print
require "rexml/document"
doc = REXML::Document.new(link_entry.atom)
doc.write($stdout, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment