module NATO::Say
Public Class Methods
call(text)
click to toggle source
# File lib/NATO/say.rb, line 5 def self.call(text) if OS.linux? `echo "#{text}" | espeak` elsif OS.mac? `say #{text}` elsif OS.windows? fail NotImplementedError end nil end