Hi enrique, You said you would answer my question but you haven't yet. Please answer soon. Oh and 1 more thing, When I try to log in on hackety hack,( the one where you plug in the codes) it won't let me. It says I have the wrong password. What should I do?Thanks
-squazzie
2 responses
-
squazzie - thanks for the reminder.
I think the HH login is not talking to the website but I'll need to check the outstanding tickets on that.
As for the bottles of beer - I've got it running in plain ruby with a ruby interpreter (ie: running it from the command line with
ruby bottlesofbeer.rb) but when I put it into Shoes it seems to not work.The main differences were using
sleep 2for the delay instead of the Time.now, and changing sing verse slightly to:def sing_verse(number_of_verses) (1..4).each |line_number| do sing_line(verse_number, line_number) end endThis seems to be cleaner.
I'll put my plain ruby version up later tonight, and keep knocking on the Shoes version (something in the ending of the case statement...)
Thanks
-
-enrique
I'm not sure what to change to what. Could you write it out with all the corrections please.