From: Hugh Sasse Staff Elec Eng Date: 2001-11-24T05:26:07+09:00 Subject: [ruby-talk:26252] adding instance variables to an existing class. How might I add some instance variables to an existing class, such as String, and have them initialized properly? class String attr_accessor :pos alias old_initialize initialize def initialize(*args) old_initialize(args) @pos = 0; end end this = "Example" didn't work. In fact I got a warning to say it didn't work, which was nice. Does this suggest I'm nearly there? :-) Hugh