R
RichardOnRails
Hi,
I wrote a little AlarmClock.rb utility that I like to use from time to
time. I posted the 84-line program at http://www.pastie.org/1994636.
(No doubt, my code is verbose, but that's not the point here.)
The require and include statements that I use for 1.8.6 execution are
rejected by 1.9.2. Googling indicates that WinAPI has been
subordinated to the DL library,
As the program stands, I get the following under 1.9.2:
AlarmClock.rb:72:in `run': uninitialized constant Alarm::Sound
(NameError)
from AlarmClock.rb:87:in `<main>'
I guessed in lines 19-22 at what requires/includes I might need to get
this app running under 1.9.2. Being perhaps right in 1 out of 4
guesses is not a great way to solve my problem.
Help would be most appreciated,
Richard
I wrote a little AlarmClock.rb utility that I like to use from time to
time. I posted the 84-line program at http://www.pastie.org/1994636.
(No doubt, my code is verbose, but that's not the point here.)
The require and include statements that I use for 1.8.6 execution are
rejected by 1.9.2. Googling indicates that WinAPI has been
subordinated to the DL library,
As the program stands, I get the following under 1.9.2:
AlarmClock.rb:72:in `run': uninitialized constant Alarm::Sound
(NameError)
from AlarmClock.rb:87:in `<main>'
I guessed in lines 19-22 at what requires/includes I might need to get
this app running under 1.9.2. Being perhaps right in 1 out of 4
guesses is not a great way to solve my problem.
Help would be most appreciated,
Richard