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

Reply via email to