Project

randwordjp

0.0
No commit activity in last 3 years
No release in over 3 years
get Japanese random string.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
 Project Readme

Build Status

Dependency Status

Randwordjp

randwordjp is a library for outputting the data of the Japanese at random .

randowrjp output the myoji, namae , Japanese postal code, Japanese state .

You use as faker during the creation of the test data.

randwordjpはランダムで日本語のデータを出力するためのライブラリです。

randowrjpは日本語の名前、苗字、日本の郵便番号、都道府県、などの出力を行うことができます。

テストデータの作成時にfakerのように利用してください。

Installation

Randwordjp is require sqlite3 adapter and sequel.

Add this line to your application's Gemfile:

gem 'randwordjp'

And then execute:

$ bundle

Or install it yourself as:

$ gem install randwordjp

Usage

require first.

	require 'randwordjp'

get namae(first name) 名前を取得する

	Randwordjp.namae

get myoji(family name) 苗字を取得する

	Randwordjp.myoji

get zip 郵便番号を取得する

	Randwordjp.zip

get address 住所を取得する

	Randwordjp.address

For more information , please refer to the yardoc.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/randwordjp/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request