From: Love U Ruby Date: 2013-02-25T04:00:11+09:00 Subject: Re: How should I print only the last combination when using Array#combination(n) ? unknown wrote in post #1098826: > Am 24.02.2013 17:11, schrieb Love U Ruby: >> [1, 4, 5] >> [2, 3, 5] #~~ means 8th combination >> >> But yes only with block. > > Why??? > What are you trying to do? > Why do you insist on using a block? > What is your use case? > > We can give better advice when you tell us what you are trying > to accomplish. Using a block might not be the most effective solution. what I was looking for is already given by - "Hans Mackowiak". So thanks for your curiosity. Please don't curse always,no need to stick on the topic that "I am trolling". If you really like to help,you can, But honest request don't be off-topic. -- Posted via http://www.ruby-forum.com/.