Added a function to do ruby doc gen