From: Robert Klemme Date: 2003-02-04T19:32:57+09:00 Subject: Mismatch between documenation and implementation of Array#join() Hi, I'm wondering whether Array#join() has an error or the documentation is wrong. Documentation says: "Returns a string created by converting each element of the array to a string, separated by aSepString." This apparently does not include flatten(). But the behavior seems to be like flatten() was invoked before: With Ruby version 1.6.7: irb(main):015:0* a=[[0,1],[22,33]] [[0, 1], [22, 33]] irb(main):016:0> a.join(";") "0;1;22;33" irb(main):017:0> a.flatten.join(";") "0;1;22;33" irb(main):018:0> [0,1].to_s "01" irb(main):019:0> I would have expected a.join(";") to have returned "01;2233" instead. Any insights? Thank you! Kind regards robert