Project

takarabako

0.03
Low commit activity in last 3 years
No release in over a year
random Japanese name of game item generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0
 Project Readme

Takarabako

Build Status Gem Version

ランダムにアイテム名を返すツールです。ゲームを作る際のテストなどに使えます。

Usage

Takarabako.open #=> "雷神の剣"
Takarabako.open #=> "インフィニティグローブ"
Takarabako.open #=> "賢者の鎧"
Takarabako.open #=> "ルシフェルレイピア"

出力される名前の候補となるデータは lib/data/names.ja.ymllib/data/names.en.yml にあるので、必要であればファイルを修正してください。

takarabakoコマンド

takarabakoをインストールすると

takarabako コマンドが使えるようになります。

> takarabako
雷神の剣
> takarabako
賢者の鎧

Supported versions

  • 2.3.x
  • 2.4.x
  • 2.5.x
  • 2.6.x
  • 2.7.x
  • 3.0.x
  • 3.1.x
  • 3.2.x
  • 3.3.x

Installation

Add this line to your application's Gemfile:

gem 'takarabako'

And then execute:

$ bundle

Or install it yourself as:

$ gem install takarabako

Contributing

  1. Fork it
  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 new Pull Request