Skip to content

Instantly share code, notes, and snippets.

@bernerdschaefer
Created March 16, 2010 19:34
Show Gist options
  • Save bernerdschaefer/334403 to your computer and use it in GitHub Desktop.
Save bernerdschaefer/334403 to your computer and use it in GitHub Desktop.
10.times do |i| args = File.readlines(__FILE__)[__LINE__-1].match(/\|(.+?)\|/)[1].split(/[, ]+/)
p args
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment