class NATO::Parser
Public Instance Methods
natify(text)
click to toggle source
# File lib/NATO/parser.rb, line 8 def natify(text) text.split("").map do |piece| DICTIONARY.fetch piece.downcase.to_sym end end
Also aliased as: to_nato