lib/ting/string.rb in ting-0.2.1 vs lib/ting/string.rb in ting-0.3.0

- old
+ new

@@ -1,4 +1,6 @@ +# coding: utf-8 + class String PINYIN_CACHE={} def pretty_tones self.gsub('u:','ü').gsub(/[A-Za-züÜ]{1,5}\d/) do |m|