it is a potential bug/problem to directly use instance variables instead of their accessor methods since they can not be accessed from a derived class. Not saying that is an issue here, but it is generally frowned upon. Instead declare an attr_reader :name and use the "getter" that ruby then generates instead of the instance variable directly. (I also break this rule quite often and get spanked).