# File lib/text/hyphen.rb, line 206 def visualise(word) return @vcache[word] if @vcache.has_key?(word) w = word.dup hyphenate(w).each_with_index do |pos, n| w[pos.to_i + n, 0] = '-' if pos != 0 end @vcache[word] = w end