Skip to content

Instantly share code, notes, and snippets.

@nuke99
Created May 5, 2012 18:36
Show Gist options
  • Save nuke99/2604643 to your computer and use it in GitHub Desktop.
Save nuke99/2604643 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
def look
puts "this is somthing else to look at but should be end in here "
#exit --- I dont want to put a exit here :( help
end
(1..10).each do |e|
puts e
if e == 5
print "somthing"
look
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment