B
bramu.ss
Hello,
I started learning Ruby couple of days back while I am practicing
some of the examples I saw that Ruby interpreter doesn't warn me if my
ruby file has dead code. I think its good if Ruby warns me about dead
code when doing interpretation..
if true
puts "its english"
elsif choice == 2
puts "my choice is 2"
end
in the above code elsif block will never get execute. Please give u r
views about this...
Thanks,
Ramu.
I started learning Ruby couple of days back while I am practicing
some of the examples I saw that Ruby interpreter doesn't warn me if my
ruby file has dead code. I think its good if Ruby warns me about dead
code when doing interpretation..
if true
puts "its english"
elsif choice == 2
puts "my choice is 2"
end
in the above code elsif block will never get execute. Please give u r
views about this...
Thanks,
Ramu.