1
2
rows_in_order = (0..7).to_a
rows_in_order.reverse! unless side == :white

Ruby On Easy - descending range

by badcarl, August 01, 2008 05:48 Star_fullStar_fullStar_fullStar_full
Aedd89a10aba3a46576ea4f604146c65 Talk
1
2
3
4
require "set"

pools = {1 => [1,2,3], 2=> [3,4,5], 3=> [5,6,7]}  
...

Ruby On Find the Intersection of Ar...

by badcarl, August 01, 2008 04:06

Here is another way. Keep ...

Aedd89a10aba3a46576ea4f604146c65 Talk
1
2
3
4
require "rubygems"
require "facets/enumerable/probability"

...

Ruby On Find the Intersection of Ar...

by badcarl, July 31, 2008 23:06 Star_fullStar_fullStar_full
Aedd89a10aba3a46576ea4f604146c65 Talk