Re: [MacRuby-devel] require module

2010-11-29 Thread Rob Gleeson
On 29 Nov 2010, at 13:14, Alan Skipp wrote: > Hi everyone, > This is just a quick query about using 'include' in an xcode project. > When creating an instance of a class, a 'require' statement is not needed > beforehand, but to include a module, you must first require it. > > #no need to requir

[MacRuby-devel] require module

2010-11-29 Thread Alan Skipp
Hi everyone, This is just a quick query about using 'include' in an xcode project. When creating an instance of a class, a 'require' statement is not needed beforehand, but to include a module, you must first require it. #no need to require 'Foo' x = Foo.new # must require 'Bar' beforehand requ