Skip to content

Instantly share code, notes, and snippets.

@j-manu
Created November 18, 2011 10:50
Show Gist options
  • Save j-manu/1376141 to your computer and use it in GitHub Desktop.
Save j-manu/1376141 to your computer and use it in GitHub Desktop.
xml.body {
xml << yield
}
#In the views you can use the usual syntax.
xml.message(@message)
xml.status(@status)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment