Mark T wrote: > Currently this raises: superclass mismatch for class Soda (TypeError) > How can I redefine a class? > As a class is an object, if I remove all of it's methods, attr & @'s > could it be GC'd? (;) > #----------------------------------------- > class Soda > def initialize > @brand = "SweetenedSugar" end > > def retrieve_brand > return @brand end end > > class Soda < String > end > #----------------------------------------- What are your trying to do? You want to extend Stirng class? I ask, because at the moment I see that you are trying to define Soda class twice. First definition is a standalone class, and the second by extending String class. -- Posted via http://www.ruby-forum.com/.