Skip to content

Instantly share code, notes, and snippets.

@mikexstudios
Created February 23, 2013 23:26
Show Gist options
  • Save mikexstudios/5021824 to your computer and use it in GitHub Desktop.
Save mikexstudios/5021824 to your computer and use it in GitHub Desktop.
a = '15.1402 5.847000 2 0 2 0 18.6690 4.749000 25 1 1 0 ...etc...'
b = a.split
while true do
c = b.slice!(0,6)
break if c == []
puts c.join "\t"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment