From: Hugh Sasse Staff Elec Eng Date: 2005-02-10T01:26:20+09:00 Subject: Re: BUG: Struct.new(:a?).instance_methods On Thu, 10 Feb 2005, Yukihiro Matsumoto wrote: > Hi [...] > Right. "a?" should not be allowed for a struct member name, since > there cannot be a "a?=" method. Here's the patch. > > matz. Matz, would it be possible to change the message to guide people to what is correct, please? + rb_raise(rb_eNameError, "`%s' is not a proper name for a struct member, use /\w+/", or something of that sort? Thank you, Hugh