From: Love U Ruby Date: 2013-05-13T22:04:36+09:00 Subject: Unexpected output from Array#<< method. I was writing a code,and doing so I got some unexpected result. Can anyone point me by saying where I did wrong? irb(main):001:0> a=["a","b","c"] => ["a", "b", "c"] irb(main):002:0> a[-1].concat("j") => "cj" irb(main):003:0> a< ["a", "b", "cjj", "cjj"] My expected output is: ["a", "b", "c", "cjj"] Thanks -- Posted via http://www.ruby-forum.com/.