From: matz@... (Yukihiro Matsumoto) Date: 2003-07-07T07:51:13+09:00 Subject: Re: calling eruby from code? Hi, In message "calling eruby from code?" on 03/07/07, Xavier Noria writes: |I've found documentation for running eruby(1) from the command line and |for configuring Apache to handle eruby templates. Do you know how to |process templates from within Ruby code? You can use ERB, pure Ruby implementation of eRuby. require 'erb' src = "...." print ERB.new(src).run ERB is bundled with 1.8.0 There are other template systems registered in RAA. Go look http://raa.ruby-lang.org/ matz.