Dec 04 2010
String interpolation in module_eval gotcha
If you find yourself doing some meta-programming in ruby with module_eval (aka class_eval), you may want to take heed of this
gotcha if you exercise string interpolation inside the evaluated block. This was tested on versions 1.8.7, 1.9.1 and 1.9.2.
Continue reading »