# File lib/rir/document.rb, line 31 def format_words wo = [] @doc_content.split.each do |w| w.split(/\W/).each do |sw| wo.push(sw.downcase) if sw =~ /[a-zA-Z]/ end end wo end