Add comment after end statement for ruby snippet