Sha256: 401651b969522d0b235d5f4ff11980cf0ff513f9cb2a58dff07953b04c096f96

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

meta :description => "/usr/bin/say command wrapper for Mac OSX.",
     :author      => "Sho Hashimoto <hashimoto@shokai.org>"

data do
  field "speech", :type => String, :default => 'hello'
  field "voice", :type => String, :default => 'kyoko'
end

call do
  puts cmd = "say #{speech} -v #{voice}"
  system cmd
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bowl-0.0.2 lib/bowl/app/plugins/mac-say.rb
bowl-0.0.1 lib/bowl/app/plugins/mac-say.rb