E
E.-R. Bruecklmeier
Hi,
a = 3
#A
case a
when Fixnum
p "Fixnum"
end
#B
case a.class
when Fixnum
p "Fixnum"
end
why ist #A working while #B isn't?
Thanks!
Eric.
a = 3
#A
case a
when Fixnum
p "Fixnum"
end
#B
case a.class
when Fixnum
p "Fixnum"
end
why ist #A working while #B isn't?
Thanks!
Eric.