Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain until loop in ruby.



Explain until loop in ruby...

Answer / Kazim Raza

"The 'until' loop in Ruby is used when you want to continue executing the loop as long as a certain condition is false. The syntax is:

until condition
# code to execute
end

For example:

counter = 0
until counter >= 10
puts counter
counter += 1
end
""

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is Ruby programming language?

1 Answers  


Explain about normal method class?

1 Answers  


Explain ruby class.

1 Answers  


Tell me how can you declare a block in ruby?

1 Answers  


What does irb stand for?

1 Answers  


Explain Ruby exceptions?

1 Answers  


what is the difference between a gem and a plugin in Ruby?

1 Answers  


What is the scope of a local variable in ruby?

1 Answers  


What are some built-in ruby class exceptions.

1 Answers  


Explain some differences between ruby and python.

1 Answers  


Tell me how you can create a controller for subject?

1 Answers  


Name some operators used in ruby.

1 Answers  


Categories