:) See below. ----- Original Message ----- From: Aleksi Niemel<aleksi.niemela / cinnober.com> To: ruby-talk ML <ruby-talk / netlab.co.jp> Sent: Thursday, October 12, 2000 5:14 PM Subject: [ruby-talk:5489] Regexp#matches > Would someone object aliasing matches for match in Regexp? > > I know I'm free to do it for myself, but I meant for standard Ruby. I'm not > sure if this raises some debate about polluting current namespaces, or that > maybe there should be aliases for "better" English code consistently in Ruby > classes. > > I just like to say like following example, and I feel it's looks much > better. Two letters, such a difference, what a world, what a language :). > > def beautiful_things(line) > if @test_re.matches line > say_beautiful_things > else > do_beautiful_things > end > end > > - Aleksi > Well, I for one would like that. It's a minor thing, but every little bit counts... Hal