Basically some snippets from code school's Ruby Bits 1 & 2