From: Robert Klemme Date: 2010-11-25T03:25:20+09:00 Subject: Re: inheriting a ruby class from different file location On 24.11.2010 19:17, David E. wrote: > So I'd like to inherit a ruby class as such: > > class ClassOne< ClassOneA > > def blah1 > end > def blah2 > end > > end > > > The caveat is that ClassOneA is NOT in the same file location as > ClassOne. How do I allow for ClassOne to "look for" ClassOneA. > > Would i have to "require" it and then inherit it? You would require the file ClassOneA is defined in - it need not necessarily be named after the class. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/