Class: Sound
- Inherits:
-
Gosu::Sample
- Object
- Gosu::Sample
- Sound
- Defined in:
- lib/rubyhop.rb
Instance Method Summary collapse
-
#initialize(filename) ⇒ Sound
constructor
A new instance of Sound.
Constructor Details
#initialize(filename) ⇒ Sound
Returns a new instance of Sound.
12 13 14 |
# File 'lib/rubyhop.rb', line 12 def initialize filename super Rubyhop.instance, get_my_file(filename) end |