I prefer class << self as it's [DRY](http://en.wikipedia.org/wiki/Don%27t_repeat_yourself). The other way is equally valid so it's just a style preference.