Posts in “Ruby”

Eloquent Ruby

28 May 2015

My notes on Russ Olsen’s excellent book Eloquent Ruby. These aren’t meant to be full and complete notes they’re just things I want to remember; for more details see the book.

Learning Clojure - my books

11 May 2012

I’ve been playing with Lisp and now Clojure for a couple of years now. Here’s a list of the books I’ve read on my journey to Clojure enlightenment (I’ve still got a long way to go…).

Ruby 1.9 shell aliases

19 Oct 2009

I’ve started playing with Ruby 1.9 – the latest and greatest version of Ruby. On Ubuntu Jaunty, 1.8 is considered mainline and 1.9 experimental – here are the shell aliases if using 1.9:

Ruby, Struct, OpenStruct, hashes

10 Oct 2009

An interesting Ruby example of an easy way to setup classes that are really just for passing around data using Struct – essentially a neat wrapper around a hash of values:

vim modelines

8 Jan 2009

I can never remember what those comments that change vim settings are called, and spend hours trawling through vim’s help.