From: Simon Kitching Date: 2003-11-05T14:16:53+09:00 Subject: Re: Managing metadata about attribute types Hi Ryan, Thanks for your reply. MetaTags (http://raa.ruby-lang.org/list.rhtml?name=metatags) may be what I was looking for. I'll try to figure out exactly what it does over the next few days. Mephle looks very interesting .. might have to look into it later on. Regards, Simon > Next, I use the MetaTags module for actually tagging what attributes > exist: > > class_info <<-DOC > !Class: Foo > > !attr foo: Foo > !attr bar: Bar: This is an optional description of bar. > DOC > class Foo > : > end > > Now I can ask for information about the Foo class and look through the > attributes that way. > > It works... I generate UIs from this information... and I'm working on > some tools to eliminate redundancy and required typing. > > hth,