On Wed, Mar 12, 2008 at 12:30 AM, Clifford Heath <no / spam.please.net> wrote: > Robert Dober wrote: > > Obviously I miss something, but I have the feeling that this > > simplification still works, which use cases did I miss? > > ... > > > puts view.render(:x => 40, :y => 2) #=> <body> 42 </body> > > Try running it with the following: > > puts view.render(:context => 40, :y => 2) #=> TypeError > > Ara's "scope" method contains no local variables for yours to step on. > > Nice trick Ara - I always appreciate your insights. I had to play with > this one a bit before properly understanding it :-) > > Clifford Heath. > > Thx Clifford this point eluded me, well spotted. And yes Rick he is right ;) Robert -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein