Reformatted excerpts from Gregor Hoffleit's message of 2010-01-13: > Still, perhaps somebody with robust Ruby skills could add in a section > about the exact usage of message.add_label and message.remove_label, > e.g.: > > - What's the difference between "label" and :label?
Nothing. Strings get turned into symbols automagically and so both will add the label :label. > - Can I use multiple labels in one invocation? No. > - How about dashes in labels? Is :sup-devel valid, or should I use > :"sup-devel"? The latter is necessary, but only because of Ruby's syntax. You can also use "sup-devel", of course. > - How about spaces in label? Same as with -'s. > - How about "-inbox"? Does it work? It will work but will give you weird errors later on down the road as punishment for being tricky. :) -- William <wmorgan-...@masanjin.net> _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk