Added example of how to regenerate Ruby code for type
Properly changed to using input/output files specified on command line