Created
October 4, 2012 14:13
-
-
Save stubotnik/3833770 to your computer and use it in GitHub Desktop.
do while
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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