D
David Stanislaus
First of all, let me just express my happiness at finally finding a
forum for Ruby, with a considerable base of users, (20 mins on a search
engine) Lol
Yeah I'm new
new to everything, I just decided to get into programming searched
programming found ruby and started following a guide.
I've had no programming experience before so if you guys know of
anything to help me out I might take a look at it.
and also I've got this little program problem:
puts 'Speak up Sonny I can\'t hear you.'
talk = gets.chomp
if talk == talk.capitalize or talk.downcase
then puts 'What? Sonny speak louder! Like THIS.'
if talk == talk.upcase
then puts 'no not since'
end
end
When you run it, and say something in Caps it returns both if puts
things so I don't know how to fix it.
thanks.
forum for Ruby, with a considerable base of users, (20 mins on a search
engine) Lol
Yeah I'm new
new to everything, I just decided to get into programming searched
programming found ruby and started following a guide.
I've had no programming experience before so if you guys know of
anything to help me out I might take a look at it.
and also I've got this little program problem:
puts 'Speak up Sonny I can\'t hear you.'
talk = gets.chomp
if talk == talk.capitalize or talk.downcase
then puts 'What? Sonny speak louder! Like THIS.'
if talk == talk.upcase
then puts 'no not since'
end
end
When you run it, and say something in Caps it returns both if puts
things so I don't know how to fix it.
thanks.