Method: Translator.catify_passage

Defined in:
lib/catchat/translator.rb

.catify_passage(passage) ⇒ Object



16
17
18
# File 'lib/catchat/translator.rb', line 16

def self.catify_passage(passage)
  passage.downcase.split(' ').map{|w| Translator.catify_word(w)}.join('  ')
end