Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • loop
  • until

Ruby - Loop until condition is true

Executes code until a given condition is valid.

0
441
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
until {{condition}} do
  {{body}}
end`
ruby

Notes

last update: Oct. 26, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Counter loop
  • Loop while condition is true
  • Do loop while a condition is true

Other language

  • Scala
  • Python
  • PHP

Random task

  • Enumeration of choices
  • Append item to array
  • Overwrite local file changes on pull
  • Add file to repository
  • Ammend message unpublished commit
  • Blog
  • About
  • License