Render ERB templates in property formats
commit2cc7a717059f2ada1c8869ab95228067ffc4dbba
authorDag Odenhall <dag.odenhall@gmail.com>
Wed, 23 Apr 2008 13:12:32 +0000 (23 15:12 +0200)
committerDag Odenhall <dag.odenhall@gmail.com>
Wed, 23 Apr 2008 13:12:32 +0000 (23 15:12 +0200)
tree333f9586482c33390fc2d5a1f3a5748070c272f0
parentfc21305c880e41f1f6dafb3aae5472658f6a6a03
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.
lib/amazing/widget.rb