Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 196 Bytes
require 'os_functions'
include OsFunctions
module Speaker
def say line
if is_mac?
system "say \"#{line}\""
elsif is_linux?
system "espeak \"#{line}\""
end
end
end