On Wednesday 05 January 2005 07:41 pm, Florian Gro wrote: | Peter wrote: | > Funny thing: "1:10"methods calls String::Literal::methods("1:10") which | > happily returns all methods in String::Literal. That's the downside of | > using the unchanged suffix as method name. | | So maybe we should go back to the String.literal_methods style? Perhaps class String def @methods # ... end end If too much like instance variables, I like the '*'. Another notion is to allow %methods to have a suffix notation. "10:00"pm would be the same as %pm{10:00} Of course you can already do, "10:00".pm so maybe I'm missing the point ;) -- *) o елеще┴ |- trans. -\ transami / runbox.com [8,16,20,29,78,65,2,14,26,12,12,28,71,114,12,13,12,82,72,21,17,4,10,2,95]. each_with_index{|x,i| $><<(x^'Begin landing your troops'[i]).chr} -Tadayoshi Funaba