Exception: TextToNoise::Player::SoundNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/text_to_noise/player.rb

Instance Method Summary collapse

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