Class: YandexSpeechApi::MP3_Player::Mac_MP3_Player

Inherits:
YandexSpeechApi::MP3_Player show all
Defined in:
lib/yandex_speech/mp3_player.rb

Overview


Instance Method Summary collapse

Methods inherited from YandexSpeechApi::MP3_Player

build, init, #play

Instance Method Details

#play_mp3(filename) ⇒ Object


217
218
219
# File 'lib/yandex_speech/mp3_player.rb', line 217

def play_mp3(filename)
  `afplay '#{filename}'`
end

#validate_requirementsObject


213
214
215
# File 'lib/yandex_speech/mp3_player.rb', line 213

def validate_requirements
  nil
end