Condate
献立決めプログラム。指定したジャンルの献立をランダムに表示します。
Installation
Add this line to your application's Gemfile:
gem 'condate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install condate
Usage
condate = Condate.new('japanese')
condate.decide #=> "肉じゃが"
condate = Condate.new('chinese')
condate.decide #=> "チンジャオロースー"
condate = Condate.new('western')
condate.decide #=> "ハンバーグ"
condate = Condate.new
condate = Condate.new('any')
condate.decide #=> 全ジャンルからランダムに表示
Contributing
- Fork it ( https://github.com/yuzoiwasaki/condate/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request