The Keypad module provides methods to determine all sequences of letters associated to a given number according to standard phone keypad. The "inverse" function, i.e., find the digits corresponding to a certain word, is also provided.
Adriano Brito Mitre
gem "Keypad", "~> 1.0.1"