Basic debugging in Ruby