# 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) if sw =~ /[a-zA-Z]/ end end wo end