From: Ryan Davis Date: 2012-09-07T07:23:28+09:00 Subject: Re: read in hierarchy file then export in comma delimited format. On Sep 6, 2012, at 12:46 , Michelle Col wrote: > Hi. I am a beginner to ruby programming. I would like to create a > program that reads in a hierarchy file having table, column and data. > The file > would be read and exported into a text file delimited by commas. I have > pasted an example of the file that would be read in. Thanks in advance. This is not the type of task that a beginner in ruby takes on. That implies to me that you're either cheating on homework or, more likely, trying to get us to do your job (for free, no less). We find this type of behavior unethical and won't help you with this. If you have a question about ruby, fine. Ask a question about ruby. We'd love to help you learn this fine language... But we're not here as free consultants.