>>>>> "d" == dave rose <bitdoger2 / yahoo.com> writes: d> collect do |item| d> sprintf( format, item ) d> end.join( sep )<<<<big confusing stmt #collect return an Array : this mean that ruby will call Array#join rather than ArrayMine#join moulon% ruby -e 'class A < Array; end; a = A[1, 2]; p a.class; p a.collect {|i| i}.class' A Array moulon% Guy Decoux