Array#choice was renamed into #sample
--- MacRuby/branches/experimental/lib/hotcocoa/graphics.rb 2009-06-20 00:47:20 UTC (rev 1893)
+++ MacRuby/branches/experimental/lib/hotcocoa/graphics.rb 2009-06-20 00:47:41 UTC (rev 1894)
@@ -98,7 +98,7 @@
rand(object.last - object.first + 1) + object.first
end
when Array
- object.choice
+ object.sample
else
object
end