Subject: Re: Modify only a .rb file, but not other .rb files, while still extending core classes?
From: Bartosz Dziewoski <matma.rex gmail.com>
Date: Thu, 27 Oct 2011 20:42:31 +0900
References: 389465389467389468389470389474
In-reply-to: 389474
On an unrelated note, if you want a random element from an array,
there's already a method for that, Array#sample. (or #choice in
1.8.7).
-- Matma Rex