README.md in gimei-1.0.0 vs README.md in gimei-1.0.1

- old
+ new

@@ -194,29 +194,45 @@ Gimei.unique.clear(:prefecture) # Gimei.unique.prefecture の結果を消去 ``` 出力される住所の候補となるデータは `lib/data/addresses.yml` にあるので、必要であればファイルを修正してください。 +### 再現可能なランダムデータ + +下記のように乱数生成器を設定することで、再現性のあるランダムデータを生成できます。 + +```ruby +Gimei.config.rng = Random.new(42) +Gimei.name.kanji #=> "飯島 誠吾" +Gimei.address.kanji #=> "熊本県日進市東場内" + +Gimei.config.rng = Random.new(42) +Gimei.name.kanji #=> "飯島 誠吾" +Gimei.address.kanji #=> "熊本県日進市東場内" +``` + ## Supported versions - 2.2.x - 2.3.x - 2.4.x - 2.5.x - 2.6.x - 2.7.x - 3.0.x +- 3.1.x ## 他言語による実装 -- [mattn/go-gimei](https://github.com/mattn/go-gimei) -- [moznion/gimei-java](https://github.com/moznion/gimei-java) -- [nabetama/gimei](https://github.com/nabetama/gimei) -- [gongo/emacs-gimei](https://github.com/gongo/emacs-gimei) -- [ma2gedev/gimei_ex](https://github.com/ma2gedev/gimei_ex) -- [demiglacesource/node-gimei](https://github.com/demiglacesource/node-gimei) -- [matarillo/dot-gimei](https://github.com/matarillo/dot-gimei) -- [abcb2/type-gimei](https://github.com/abcb2/type-gimei) +- .NET [matarillo/dot-gimei](https://github.com/matarillo/dot-gimei) +- Elixir [ma2gedev/gimei_ex](https://github.com/ma2gedev/gimei_ex) +- Emacs Lisp [gongo/emacs-gimei](https://github.com/gongo/emacs-gimei) +- Go [mattn/go-gimei](https://github.com/mattn/go-gimei) +- Java [moznion/gimei-java](https://github.com/moznion/gimei-java) +- Node.js [demiglacesource/node-gimei](https://github.com/demiglacesource/node-gimei) +- Perl [youpong/Data-Gimei](https://github.com/youpong/Data-Gimei) +- Python [nabetama/gimei](https://github.com/nabetama/gimei) +- TypeScript [abcb2/type-gimei](https://github.com/abcb2/type-gimei) ## Installation Add this line to your application's Gemfile: