Exception: TextToNoise::Player::SoundNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- TextToNoise::Player::SoundNotFound
- Defined in:
- lib/text_to_noise/player.rb
Instance Method Summary collapse
-
#initialize(sound_name) ⇒ SoundNotFound
constructor
A new instance of SoundNotFound.
Constructor Details
#initialize(sound_name) ⇒ SoundNotFound
Returns a new instance of SoundNotFound.
7 8 9 |
# File 'lib/text_to_noise/player.rb', line 7 def initialize( sound_name ) super "Could not locate '#{sound_name}' in #{Rubygame::Sound.autoload_dirs}" end |