Skip to content

Instantly share code, notes, and snippets.

Created September 12, 2014 12:56
Show Gist options
  • Save anonymous/2ede38c17dddf7ca5c38 to your computer and use it in GitHub Desktop.
Save anonymous/2ede38c17dddf7ca5c38 to your computer and use it in GitHub Desktop.
elsif saveLoad == '2'
#Load game#
Dir["./Save/*.save"].each {|save| puts save}
break
end
# I want that the output is like:
# 1. save (without ./Save and .save)
# 2. test (without ./Save and .save)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment