Skip to content

Instantly share code, notes, and snippets.

@swarut
Created November 8, 2012 12:21
Show Gist options
  • Save swarut/4038499 to your computer and use it in GitHub Desktop.
Save swarut/4038499 to your computer and use it in GitHub Desktop.
Ruby : Using Next to Continue Looping #ruby #loop #next
workload.each do |screen_name|
statuses = Status.retrieve(screen_name, Status.cursor[screen_name])
next if statuses.blank?
....
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment