From: Robert Klemme Date: 2013-03-20T17:10:23+09:00 Subject: Re: Ruby tainting on primitives On Wed, Mar 20, 2013 at 8:23 AM, Nicolas V. wrote: > Maybe I was not clear. > > I actually *want* to be able to taint numbers (and also booleans). > Ruby makes numbers and booleans behave like instances of classes, and so > I would expect tainting to work normally (in some ways, the abstraction > is leaking). What would be the point in tainting numbers? Numbers are immutable anyway (well, you can set instance variables but that won't change their behavior). Also, since Fixnums are singletons tainting would affect all locations - not likely that you would want that. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/