From: Roeland Moors Date: 2004-09-09T00:22:47+09:00 Subject: Re: method by string ? On Thu, Sep 09, 2004 at 12:07:35AM +0900, ts wrote: > >>>>> "R" == Roeland Moors writes: > > R> $mode.$method > > $mode.send($method) # ruby will be able to call also private and > # protected methods > thanks I'm now using something like this: $mode.send($method) if $mode.methods.include?($method) -- Roeland