Last active
April 22, 2016 00:25
-
-
Save selfup/8d8b91c1ab6db8657830d76e6218ccc4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@count = 0 | |
def step_right | |
@count += 1 | |
if @count < 11 | |
puts "I STEPPED RIGHT" | |
else | |
return "I AM DONE" | |
end | |
step_right | |
end | |
step_right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment