Say::Japanese

Say in japanese (using say-command on MacOSX)

Requirements

Installation

Add this line to your application's Gemfile:

gem 'say-japanese'

And then execute:

$ bundle

Or install it yourself as:

$ gem install say-japanese

Usage

require 'say/japanese'

say 'オブジェクト指向スクリプト言語 ルビー'

set_say_as_default :otoya

say 'オブジェクト指向スクリプト言語 ルビー'

say_as :kyoko, 'ルビーとは、'

say_as :otoya, <<EOT
  オープンソースの動的なプログラミング言語で、
  シンプルさと高い生産性を備えています。
  エレガントな文法を持ち、自然に読み書きができます。
EOT



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