In (my) ruby 1.9.2 class Array has an undocumented method #one? . It takes no arguments and returns true if the array contains one element, false otherwise. Is this something someone forgot to delete? -- Posted via http://www.ruby-forum.com/.