I think this happens because both a and b point to string "maloy". You
expected that a and b will each have it's own string.

Use

b = a.dup

instead of

b = a

and it should work.
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to