{ "question": { "nerd_level": 2, "text": "How to get all but the last element of an array.", "a1": "ary[0..-1]", "a2": "ary.pop", "a3": "ary.size-1", "a4": "ary[0...-1]", "category": "ruby", "right_answer": "a4", "created_by": "Georg Leciejewski", "created_at": "2011-06-20", "id": "" } }