doc for ruby