Jesse Brown
7/21/2007 1:33:00 AM
> e = ERB.new(template_content, 0, "%<>")
> e.result
I'm not sure if it will be helpful in your situation, but e.result
will accept a binding parameter. That binding is used to resolve local
variables in the template.
--
Jesse Brown
www.cs.drexel.edu/~jrb562
not_in_units = [unit for unit in UNITS if unit not in units]