Changed code blocks to use ruby syntax highlighting.