sinatra/sinatra-contrib — pull request #69 by kbsletten (2012-10-13 03:52:44+00:00)
Title: Immediate Value Capture for content_for

Fills a missing feature from Rails' content_for, allowing users to yield a single string to be rendered.

Usage:

Template:
```
%html
%head
%title= yield_content :title
```

View:
```
- content_for :title, 'A Tale of Two Cities'
```