Code for learning ruby.