James Adam wrote: > It looks like you're examining the generator templates there. The > engine generator will create a module with the same name as your > engine (simply for convenience, you dont need to use or keep it. The > <%= engine_class_name %> part is replaced when ERb processes the > generator templates. > > In general, most Rails generators use ERb templates to distribute code > that needs to be created with particular values replaced at the time > of file creation. > > james > > On 2/20/06, mengjiang liu <[EMAIL PROTECTED]> wrote: >> [email protected] >> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org >> > > > -- > * J * > ~
thanks for your reply, and can you exlpain it more clearly by a example? -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
