image-mount

Code Highlighting

Posted by Taus August 28, 2009

Testing CodeColorer, the code highlighting plugin…

# Everything, including a literal, is an object, so this works:
-199.abs                                                # 199
"ruby is cool".length                                   # 12
"Your mother is nice.".index("u")                       # 2
"Nice Day Isn't It?".downcase.split("").sort.uniq.join  # " '?acdeinsty"

Nice… Instructions are here.

Read more...