Check out the usage here: http://blog.imperialdune.com/2007/3/27/dirty-views-clean-them-up
Basically you need to do something like:
def header(content, *options, &block) concat(content, block.binding) end
Good luck.
-s
Check out the usage here: http://blog.imperialdune.com/2007/3/27/dirty-views-clean-them-up
Basically you need to do something like:
def header(content, *options, &block) concat(content, block.binding) end
Good luck.
-s