From: Austin Ziegler Date: 2003-01-08T02:39:57+09:00 Subject: Re: attr_cast, one a small step for interface techniques Actually, I don't think I would ever want a reader that casts. -a -- austin ziegler Sent from my Treo -----Original Message----- From: Martin DeMello Date: 03.1.7 3.03 To: ruby-talk@ruby-lang.org (ruby-talk ML) Subj: Re: attr_cast, one a small step for interface techniques Tom Sawyer wrote: > def attr_accessor_with_cast(harg) > attr_reader_with_cast(harg) > attr_writer_with_cast(harg) > end Is this logically right? You;d want different casts for readers and writers, I'd think. martin