From: "Tario C." Date: 2013-06-08T11:39:51+09:00 Subject: Write a method which takes in a string and returns an array of pairs How do I write a method which takes in a string and returns an array of pairs each pair contains the next distinct letter in the string, and the number consecutive repeats? Thank you -- Posted via http://www.ruby-forum.com/.