A port of EWR4.2 to Ruby for practicing my skills