James Gray
8/30/2006 3:41:00 PM
On Aug 30, 2006, at 6:30 AM, Trans wrote:
> And I beleive as of Ruby 1.9 this will built-in functionality too and
> there will no longer be a need for the require (Can anyone verify
> that?)
$ ruby_yarv -ve '(1..10).each_slice(3) { |trio| p trio }'
ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i686-darwin8.7.1]
YARVCore 0.4.1 Rev: 527 (2006-07-19) [opts: [direct threaded code]
[inline method cache] ]
[1, 2, 3]
[4, 5, 6]
[7, 8, 9]
[10]
James Edward Gray II