0 votes
in Ruby by
Explain break statement in Ruby.

1 Answer

0 votes
by
 
Best answer

Ruby break statement is used to terminate a loop. It is mostly used in while loop where value is printed till the condition is true.

...