From: Thomas Wieczorek Date: 2007-07-31T06:05:04+09:00 Subject: Re: Passing variables to a required file 2007/7/30, 12 34 : > I want to pass about 10 variables to a "require"d file. My understanding > is that I need to use global variables. Is this correct? > I'd do the same as Alex and put the Config constant in a class(or any other way to pass the parameters, I am quite new to Ruby and don't know of something better yet) > > PS The example file as a > > Config = < > > EOS > > I can't find EOS in Ruby on Rails or PickAxe, so maybe I'm missing > something in how it's used. > Check Chapter 5 "Strings" in the Pickaxe, it is called *here document* there.