Skip to content

Instantly share code, notes, and snippets.

@drio
Created July 22, 2008 21:29
Show Gist options
  • Save drio/1299 to your computer and use it in GitHub Desktop.
Save drio/1299 to your computer and use it in GitHub Desktop.
type = ""
split_name.each { |s| type = s if s =~ /csfasta|ftc|txr|cy5|cy3|qual/ }
puts type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment