H
hawat.thufir
I need to indicate where to find the Song class. With a module? I'm
looking for the simplest technique (hint pls):
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>type Song.rb
class Song
def initialize(name, artist, duration)
@name = name
@artist = artist
@duration = duration
end
end
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>type Sing.rb
aSong = Song.new("Bicylops", "Fleck", 260)
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>Sing.rb
C:/Documents and Settings/nsaunders/Desktop/Sing.rb:1: uninitialized
constant So
ng (NameError)
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>
thanks,
Thufir
looking for the simplest technique (hint pls):
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>type Song.rb
class Song
def initialize(name, artist, duration)
@name = name
@artist = artist
@duration = duration
end
end
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>type Sing.rb
aSong = Song.new("Bicylops", "Fleck", 260)
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>Sing.rb
C:/Documents and Settings/nsaunders/Desktop/Sing.rb:1: uninitialized
constant So
ng (NameError)
C:\Documents and Settings\nsaunders\Desktop>
C:\Documents and Settings\nsaunders\Desktop>
thanks,
Thufir