Improved ruby documentation