module PhoneticAlphabet

Constants

HASH
VERSION

Public Class Methods

translate(string) click to toggle source
# File lib/phonetic_alphabet.rb, line 34
def self.translate(string)
  ret = ''
  string.each_char do |c|
    ret += "#{HASH[c.upcase]} "
  end
  ret.chop
end