I've been looking through the new concept of 'trust' in Ruby 1.9, and  
I'd like to make sure I'm understanding the motivation behind it and  
the way it should be used.

It seems to parallel the concept of 'taintedness.' But whereas  
taintedness is intended to keep track of incoming data, trust seems to  
keep track of internal execution. That is, once the safe level has  
been set to 3, all objects that are subsequently created are by  
default untrusted.

I'm not clear, however, how this can be used in practice. Is it  
intended to be used in code sandboxes?


Dave