Teach myself getter and setters in ruby