wycats / merb-core

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

This URL has Read+Write access

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