From: brian.kejser@... Date: 2006-09-05T09:15:38+09:00 Subject: Re: How do I create an instance of a class in another rb file Hi Thanks. I thought 'require' only imported files in the Ruby lib folder. -----Original Message----- From: "Logan Capaldo" Sent: Mon, September 4, 2006 16:33 To: "ruby-talk ML" Subject: Re: How do I create an instance of a class in another rb file On Sep 4, 2006, at 7:21 PM, brian.kejser@protexis.com wrote: > Hi > > I have two rb files in the same folder. > > The first file is one.rb and defines an instanciable class named > 'One'. > The second file is two.rb and needs to create an instance of class > 'One' > as defined in one.rb. > > How do I import the class 'One' into two.rb? > require 'one' one = One.new > Thanks > > > >