Skip to content

Instantly share code, notes, and snippets.

@scottwater
Created February 21, 2010 16:02
Show Gist options
  • Save scottwater/310387 to your computer and use it in GitHub Desktop.
Save scottwater/310387 to your computer and use it in GitHub Desktop.
"one, two, three, one, four, one".split(',').collect{|s| s.strip}.uniq == ["one","two","three","four"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment