Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'active_support/core_ext'
- h = Hash.to_xml("<a><b>1</b><c d=\"3\">2</c></a>")
- p h["a"]["b"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement