Ichigeki
This is Script::Ichigeki ruby version.
Installation
Add this line to your application's Gemfile:
gem 'ichigeki'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ichigeki
Usage
# sample.rb
require 'ichigeki'
Ichigeki.hissatsu(
dialog_message: "殺っちゃう??",
log_file_postfix: '.ichigeki',
exec_date: "2014-03-08"
)
puts 'ichigeki: グハッ'
bundle exec ruby sample.rb
less .sample.rb.ichigeki
# This log file is generated by ichigeki.start: 2014-03-08 12:00:00 +0900
---
ichigeki:
We can set optons when require this gem like this
require("ichigeki").hissatsu(
log_file_postfix: '.hoge'
exec_date: "2014-03-10"
)
thanks p-r
Contributing
- Fork it ( http://github.com/
/ichigeki/fork ) - Create your feature branch (
git checkout -b my-new-feature)- Commit your changes (
git commit -am 'Add some feature')
- Commit your changes (
- Push to the branch (
git push origin my-new-feature)- Create new Pull Request
