Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2015 17:55
Show Gist options
  • Save anonymous/71e9985ef8c49ed09345 to your computer and use it in GitHub Desktop.
Save anonymous/71e9985ef8c49ed09345 to your computer and use it in GitHub Desktop.
elsif com.casecmp("download") == 0
if com[9].isnil?
client.puts "No download selected(nil)"
else
client.puts "Download attempt: #{com[9..-1]}"
end
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment