From: Greg Weeks Date: 2007-11-09T05:44:51+09:00 Subject: Re: standard, pretty, and flexible meta-methods? Wow, what a rush of information, eg: Gavin Kistner wrote: > define_method( name ){ "define_method" is what I was missing. I'm still curious about the most common practice, if there is one, specifically about creating little "mini-languages" that can be used inside class definitions. (Yes, I'm wondering about Rails.) My example with explicit class methods now smells pretty bad to me, for example. Could modules (using "define_method" and other magic) "extended" into class objects be considered the norm? This is a more vague question, but I'm putting it out FWIW. Anyway, thanks to all for the info so far. -- Posted via http://www.ruby-forum.com/.