class AgileNotifier::Player
Public Class Methods
play_on_linux(file)
click to toggle source
# File lib/agile_notifier/player.rb, line 4 def play_on_linux(file) # play command comes from sox package, not pre-installed system("play #{file}") end
play_on_osx(file)
click to toggle source
# File lib/agile_notifier/player.rb, line 9 def play_on_osx(file) system("afplay #{file}") end
play_on_windows(file)
click to toggle source
# File lib/agile_notifier/player.rb, line 13 def play_on_windows(file) raise(NotImplementedError, "Method [#{__method__}] is empty, please implement", caller) end