Explain while loop in ruby.
Answer / Anish Kumar
"The while loop in Ruby repeatedly executes a block of code as long as the specified condition is true. The syntax for a while loop is: while (condition) do n # code blockn end. The loop will stop when the condition becomes false."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain ruby ranges. What are the ways to define ranges?
What is ruby software and where and when it is usefull.
What is the naming conventions for methods that return a boolean result?
Can you list out the few features of ruby?
Which ruby interpreter option enables debugging?
What is retry statement in ruby?
Explain class libraries in ruby.
What must you do first before you can invoke an unboundmethod object?
Explain about ruby code blocks?
Please explain the three levels of access control for ruby methods?
How does ruby deal with extremely large numbers?
How does a symbol differ from a string?