Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created May 10, 2013 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderforhire/5557092 to your computer and use it in GitHub Desktop.
Save coderforhire/5557092 to your computer and use it in GitHub Desktop.
if versions.all? {|i| i == versions.first}
return versions.first
else
return -1
end
versions = ["3.1.10-49936.10934", "3.1.10-49936.10934", "3.1.10-49936.10934", "3.1.10-49936.10934", "3.1.10-49936.10934"]
versions = ["3.1.11-", "3", "312", "3.1.10-49936.10934", "3.1.10-49936.10934"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment