From: Michel Demazure Date: 2012-06-27T01:23:40+09:00 Subject: Re: Array#sample is Set#sample and not Array#sample ! Bartosz Dziewoński wrote in post #1065970: > 2012/6/25 Robert Klemme : >> I am sorry, I don't get it.  Can you explain what your expectation is? > > I think he wants to keep the ordering or original array in the result > of #sample. > > > This might actually make sense. > > -- Matma Rex I just mean that array.sample(n) does not depend on the Array 'array' but of the underlining set. It should be a method of Set. For the rest, it is only a question of definition and taste. _md -- Posted via http://www.ruby-forum.com/.