On 4/22/07, Guy Speier <guy / speier.us> wrote:
> Hello,
>
> Can you tell me what this line:
> configuration.frameworks.each { |framework| require(framework.to_s) }
>
> is doing?  I see that it reqiures "framework.to_s" ... I don't think it's a
> file.  If its a variable, how cna I see it's content?
require works with strings, instead of saying
require 'mylib'
you could of course say
m = 'mylib'
require m

To answer your second question:
puts configuration.frameworks.map{ |fr| fr.inspect}.join("\n")
might come in handy.

HTH
Robert
>
> thanks,
> Guy
>
>


-- 
You see things; and you say Why?
But I dream things that never were; and I say Why not?
-- George Bernard Shaw