Parsing X12 EDI file

Hi
how i can parse X12 EDI file formate using ruby?

Have a look at this gem: https://github.com/irobayna/stupidedi

It lists alternatives half way down the readme.