complete ruby examples