Subject: Re: Requiring more than one file?
From: Ben Bleything <ben bleything.net>
Date: Tue, 12 Jun 2007 02:40:02 +0900
References: 255044255053255171255173255174
In-reply-to: 255174
On Tue, Jun 12, 2007, Aureliano Calvo wrote:
> require *%w( yaml pp )
> should work.
This yields a syntax error. Instead, you might try
%w( yaml pp ).each {|r| require r}
That's sort of the standard %w form of require.
Ben