Check if an object is considered tainted by using the tainted? method:
x = "Hello, world!"
y = [x, x, x]
z = 20 + 50
a = File.open("somefile").readlines.first
b = ENV["PATH"]
c = [a, b]
Related examples in the same category