Ruby programming notes - class, objects, variables