How to copy this portion of a text file out and put into a hash using rails? (VATsim datafile)
- by Rusty Broderick
Hi
I'm trying to work out how i can cut out the section between !CLIENTS and the '; ;' and then to parse it into a hash in order to make an xml file. Honestly have no idea how to do it.
The file is as follows: vatsim-data.txt original file here
; Created at 30/12/2010 01:29:14 UTC by Data Server V4.0
;
; Data is the property of…