From: Alexey Petrushin Date: 2008-09-20T09:03:48+09:00 Subject: Extending Erubis Hello! I'm developing Web-framework, and have problem, my templates looks like: ... Name <%= @name.to_html session %> Completed <%= @completed.to_html session %> ... The problem is - I tired typing all this: <%= @component_name.to_html session %> and wondering is there any way to shortcut it to something like: @component_name and Template Engine should then add all missing ".to_html session" and process further. At the worst I can parse raw file by RegExp and replace all this things before Template Engine, but hope there is more intelligent solution. Thanks! :) -- Posted via http://www.ruby-forum.com/.