search for: meruby

Displaying 1 result from an estimated 1 matches for "meruby".

Did you mean: eruby
2007 Sep 04
11
returning(...) ?
...te/erubis.rb =================================================================== --- lib/merb/template/erubis.rb (revision 508) +++ lib/merb/template/erubis.rb (working copy) @@ -40,12 +40,12 @@ return @@erbs[path] else begin - returning ::Erubis::MEruby.new(IO.read(path)) do |eruby| - eruby.init_evaluator :filename => path - if cache_template?(path) - @@erbs[path], @@mtimes[path] = eruby, Time.now - end - end + eruby = ::Erubis::MEruby.new(IO.read(path)) +...