From: -j B- Date: 2007-08-24T10:46:43+09:00 Subject: Dynamic methods I have seen examples of catching unkown methods called on a class with method_missing. For example: class Example def initialize(...) #... end def method_missing(item) call = item.id2name process(call) end end But I'm not sure if that is an 'acceptable' way to do things. Also, suppose that I wanted to add a method dynamically that takes arguments, is this even possible? My general thought is allowing functionality to be added to a program dynamically based on a set of rules in a config file. Any suggestions are welcome. Thank you. -- Posted via http://www.ruby-forum.com/.