Changeset [2cc7a717059f2ada1c8869ab95228067ffc4dbba] by Dag Odenhall

April 23rd, 2008 @ 03:12 PM

Render ERB templates in property formats

lib/amazing/widget.rb: require erb.

(Amazing::Widget) include ERB::Util to get html escaping with h()

for use with pango markup.

(Amazing::Widget#formatize) Render the formatted result as a

ERB template within this scope.

http://github.com/dag/amazing/co...

Committed by Dag Odenhall

  • M lib/amazing/widget.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

An amazing widget manager for an awesome window manager