Sha256: ac4ffb4bfb5871b05de763697b2895253850f7ad84ec5ea550c6b1cdcfe1bf7b
Contents?: true
Size: 339 Bytes
Versions: 3
Compression:
Stored size: 339 Bytes
Contents
$: << File.join(File.dirname(__FILE__), '../lib') require 'ting' conv1 = Ting::Converter.new(:hanyu, :numbers, :wadegiles, :accents) conv2 = Ting::Converter.new(:wadegiles, :accents, :zhuyin, :marks) pinyin = 'wo3 de peng2 you3 shi4 dai4 fu' wadegiles = conv1 << pinyin zhuyin = conv2 << wadegiles puts pinyin, wadegiles, zhuyin
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ting-0.12.0 | examples/hello.rb |
ting-0.11.0 | examples/hello.rb |
ting-0.10.0 | examples/hello.rb |