Exception: MPlayer::Error::NoTargetPath

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



29
30
31
32
# File 'lib/easy_mplayer/errors.rb', line 29

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