From: Chris Czub Date: 2007-10-26T06:48:15+09:00 Subject: Re: Need help understanding metaclassing user = DefaultUser.new # Give them a random email address - TODO this should be changed so that it first clears out # any user that might exist with that email address first to ensure a proper creation. Oh well. user.email("john.doe#{rand(100)}@abc.com") results in an error. Why can't I use the attribute accessor? Rather - I understand why I can't, because it was created in the User class rather than the DefaultUser class, but how can I get access to it? -- Posted via http://www.ruby-forum.com/.