From: Kent Dahl Date: 2002-10-30T07:35:41+09:00 Subject: Re: Dynamically executed methods in Ruby? Mirian Crzig Lennox wrote: > I want to write a class with a method, say "method_handler" which > "traps" all calls to undefined methods and executes them somehow. Just define the method_missing method in your class. http://www.rubycentral.com/book/ref_c_object.html#Object.method_missing -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)