From: Kevin Howe Date: 2004-10-21T01:59:18+09:00 Subject: Re: Idiom -- is there a better way? > class Foo > def bar(fn) > eval "self.#{fn}" > end > end > > ...nicer way of doing the bar(fn) stuff. Any ideas? > Replace eval "self.#{fn}" with method(fn).call