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