Dev Guy wrote in post #1076095:
> OK it seems, for things to work I need to pass in 'binding' and make
> the call like:
>
> puts output = renderer.result(binding)

That's correct. Without a Binding object the result() method cannot 
access the local variables in the caller's scope.

-- 
Posted via http://www.ruby-forum.com/.