Mega Code Archive

 
Categories / Ruby / Class
 

Force an object to be seen as untainted by calling the untaint method on the object

while x = gets   next if x.tainted?   puts "=> #{eval(x)}" end