From: matz@... (Yukihiro Matsumoto) Date: 2003-08-14T01:53:32+09:00 Subject: Re: subclassing Structs Hi, In message "subclassing Structs" on 03/08/14, Eugene Scripnik writes: |I'm trying to create class which behaves as struct (almost) and has some |other useful methods. But subclassing Struct seems to work differently |from other builtin classes. Here is the sample: That's because Struct class is a abstract factory for each Struct (e.g. Struct.new does not return instance of Struct, but subclass of it). I'm not sure what you want to achieve by subclassing, though. matz.