cheat sheets.

$ cheat rexml
Parsing + XPath query:

  require 'rexml/document'
  doc = REXML::Document.new("<foo> <bar>3</bar> </foo>")
  REXML::XPath.first(doc, 'foo/bar').text.to_i
Version 1, updated 778 days ago.
. o 0 ( edit | history )
( add new | see all )