Hi François and chiisaitsu, Really useful informations, thank you very much. :)
'::Gang' works well! Feeling happy, Satoshi On Mon, Aug 4, 2008 at 9:53 AM, chiisaitsu <[EMAIL PROTECTED]> wrote: > Satoshi Asakawa wrote: > > Hi all, > > > > I run make_yaml.rb attached this mail. > > Then created gangs.yml file. > > > > Next, I run test.rb, but I got the following error message: > > The top-level namespace in any Shoes app is Shoes. So, in test.rb when you > do > > Gang = Struct.new :name, :country > > you are really making a Shoes::Gang struct, not a Gang struct. I > changed that line to this and it worked for me: > > ::Gang = Struct.new :name, :country >
