[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
reuse the Array shuffle method of the facets gem require 'facets/array/shuffle' ... def shuffle @deck.shuffle end
reuse the Array shuffle method of the facets gem
require 'facets/array/shuffle' ... def shuffle @deck.shuffle end
Gotta love that. =)
_______________________________________________ talk mailing list talk@phillyonrails.org http://lists.phillyonrails.org/mailman/listinfo/talk