From: Alex Young Date: 2007-05-20T01:06:34+09:00 Subject: Re: Dynamically creating ruby source files Matt Gretton wrote: > I feel there must exist a more elegant way of creating a file liek this. > For example, I have heard that ruby on rails dynamically creates files > containing ruby code. This behavior seems pretty common to various ruby > projects, for example I know rails creates ruby source code dynamically. > Not having had experience with such projects I have tried in vain to > search google for information. > As far as I remember, Rails just uses ERB templates. Alternatively, there's ruby2ruby. I've used the former, but not the latter (yet). -- Alex