Exception: MPlayer::Error::NoPlayerFound

Inherits:
StartupError show all
Defined in:
lib/easy_mplayer/errors.rb

Instance Attribute Summary

Attributes inherited from StartupError

#path

Instance Method Summary collapse

Methods inherited from StartupError

#initialize

Constructor Details

This class inherits a constructor from MPlayer::Error::StartupError

Instance Method Details

#to_sObject



22
23
24
25
# File 'lib/easy_mplayer/errors.rb', line 22

def to_s
  str = super
  str += "File \"#{path}\" is not executable!\n" unless File.executable?(path)
end