Skip to content

Instantly share code, notes, and snippets.

@msuarz
Created October 11, 2013 18:36
Show Gist options
  • Save msuarz/6939799 to your computer and use it in GitHub Desktop.
Save msuarz/6939799 to your computer and use it in GitHub Desktop.
pretty code
# before
while @servers.collect { |server| server.done? }.include? false
# after
until servers.all? &:done? do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment