Skip to content

Instantly share code, notes, and snippets.

@machisuji
Created August 3, 2010 13:34
Show Gist options
  • Save machisuji/506381 to your computer and use it in GitHub Desktop.
Save machisuji/506381 to your computer and use it in GitHub Desktop.
def form() {
<any name="author"/> merge <any value="Bobby"/>
// vs
get("name" -> "author").setAttribute("value", "Bobby")
// vs
<where name="author" setValue="Bobby"/>!
// vs
<any name="author"/> update {
"value" -> "Bobby" // [,\n"foo" -> "bar" ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment