Until loop runs until the given condition evaluates to true. It exits the loop when condition becomes true. It is just opposite of the while loop which runs until the given condition evaluates to false.
until conditional code end
i = 1 until i == 10 print i*10, "\n" i += 1 end
Hope you guys found this page helpful 🙂