Select Page

Testing CodeColorer, the code highlighting plugin…

[cc lang=”ruby”]
# 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”
[/cc]

Nice… Instructions are here.