wycats / merb-core

Merb Core: All you need. None you don't.

Fri Aug 08 18:14:19 -0700 2008
commit  8c7398640ba4cafff011a6abd0d5e7655ccc5cec
tree    d742a6ccbc2149cf8bfb459408fd1448c7a0e320
parent  4ca5195c6663b0f0060a70643580d358859b42ff parent  063c4caa2f098d221490418607cd43eab5cce4f3
merb-core / PUBLIC_CHANGELOG
100644 14 lines (11 sloc) 0.383 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
6/22/2008:
 
Erubis modified:
* <%= %> now can take a block, so <%= helper do %>Hello<% end %> now works
* Erubis buffer is now an ivar (@_erb_buf), which eliminates the need for
  eval in capture helpers.
  
CONSEQUENCE:
Helpers that take a block should simply return a string, and should not
use concat. Example:
  
  def my_helper(&blk)
    "My helper says #{capture(&blk)}."
  end