Add a snippet for ruby.