I am new into ruby. I have the following code block:
a = 10
while a < 20 do
puts "True"
a++
next unless a == 12
puts "This is not 12"
end
$end
However, I'm getting void value expression for a ==12
.I have assigned 10 into it to begin with so I don't see why I'm getting void value.