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

Interpolation is a very important process in Ruby, comment.

1 Answers  


Who is the developer of Ruby?

1 Answers  


What is ruby software and where and when it is usefull.

1 Answers  


Define ruby methods.

1 Answers  


How to check whether a directory exist or not in Ruby?

1 Answers  


What are class libraries in Ruby?

1 Answers  


How would you freeze an object in ruby?

1 Answers  


How would you implement hash in ruby internally?

1 Answers  


What are some built-in ruby class exceptions.

1 Answers  


Explain Ruby if-else statement?

1 Answers  


Explain the difference in scope for these two variables: @@name and @name?

1 Answers  


Explain about operators in Ruby?

1 Answers  


Categories