From: Brian Buckley Date: 2005-12-06T03:22:23+09:00 Subject: Re: limiting how long a method is permiited to run > Try this out Brian: Sweet! I added in *args and it seems to do exactly what I was looking for. class Class def time_limit(hash) hash.each do |name, limit| m = instance_method(name) define_method(name) do |*args| timeout(limit, TooMuchTimeException) do m.bind(self).call(*args) end end end end end