Skip to content

Instantly share code, notes, and snippets.

@stubotnik
Created October 4, 2012 14:13
Show Gist options
  • Save stubotnik/3833770 to your computer and use it in GitHub Desktop.
Save stubotnik/3833770 to your computer and use it in GitHub Desktop.
do while
existing_raf_code = ':-(' # no do-while in Ruby
until existing_raf_code.nil?
new_client_raf_code = SIASquirrel::SIA::RAFReferrer.generateRAFCode
existing_raf_code = SIASquirrel::SIA::RAFReferrer[:rafcode => new_client_raf_code]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment