Created
February 17, 2011 19:58
-
-
Save coldnebo/832527 to your computer and use it in GitHub Desktop.
blog: example of possible ruby xml marshaling...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<foo> | |
<bar @mike="hi"> | |
<ug>what</ug> | |
<ug>who</ug> | |
</bar> | |
</foo> | |
> foo.bar.mike # = "hi" | |
> foo.bar.ug # = ["what", "who] | |
> foo.bar.ug[0] # = "what" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
referred to by my blog article about marshalling.