From: Richard Kilmer Date: 2003-03-16T04:15:57+09:00 Subject: Re: ANN: vcard 0.1 - a vCard decoding library This is awesome...welcome to the contributing community members! Its cool to announce libraries here (until we get so very overwhelmed with new code announcements that we need to do something about it ;-) One quick recommendation is to use the index method [] as an alias for value_of on the VCard object...that way you could do this: VCDATA =< rich@infoether.com and possibly accept symbols in addition to strings: puts card[:email] #=> rich@infoether.com and perhaps enable a second (optional) param for the type: puts card[:email, :home] #=> rich@monotheos.com To define such as method: class VCard def [](fieldname, ftype=nil) ... end end Anyway...just ideas...and thanks for the library, rich On Saturday, March 15, 2003, at 01:19 PM, Sam Roberts wrote: > http://raa.ruby-lang.org/list.rhtml?name=vcard > > An implementation of the MIME Content-Type for Directory Information > (RFC 2425), and profiles of this format. The basic RFC 2425 format is > implemented by the DirectoryInfo class. Currently the only supported > profile is vCard (RFC 2426), implemented by the Vcard class. > > This is my first Ruby module, and I would love to have feedback on > useability, Ruby-ishness, API suggestions, bug reports, anything, > really! > > Sam > > Btw, is it OK to announce things to ruby-talk? Is it just considered > noise? > > >