README.md in chinese_pinyin-0.1.0 vs README.md in chinese_pinyin-0.2.0
- old
+ new
@@ -9,9 +9,12 @@
<pre><code>sudo gem install chinese_pinyin</code></pre>
## Usage
<pre><code>
+require 'rubygems'
+require 'chinese_pinyin'
+
Pinyin.t('中国') => "zhong guo"
Pinyin.t('中国', '-') => "zhong-guo"
Pinyin.t('中国', '') => "zhongguo"
Pinyin.t('你好world') => "ni hao world"
</code></pre>