> 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