Parse ruby file