Revision: 1894 http://trac.macosforge.org/projects/ruby/changeset/1894 Author: lsansonetti@apple.com Date: 2009-06-19 17:47:41 -0700 (Fri, 19 Jun 2009) Log Message: ----------- Array#choice was renamed into #sample Modified Paths: -------------- MacRuby/branches/experimental/lib/hotcocoa/graphics.rb Modified: MacRuby/branches/experimental/lib/hotcocoa/graphics.rb =================================================================== --- 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
participants (1)
-
source_changes@macosforge.org