Chris Shea
7/5/2007 9:03:00 PM
On Jul 5, 2:43 pm, "bcpar...@gmail.com" <bcpar...@gmail.com> wrote:
> Thanks Chris. It works if I do require 'facet/array/shuffle' but it
> does not if I just do require 'facets'. According to the Readme in
> facets that should also work. Any idea why it doesn't work?
It doesn't work because it's not supposed to.
Quoting from the readme in regards to "require 'facets': "This loads a
set of facets considered 'BASE' -currently a couple dozen very basic
methods, and adds the facets library directories to the end of Ruby's
load path. This allows you to require facets without even using the
'facet/...' prefix."
At that point you then must require 'array/shuffle'.
Chris