-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Tadeusz Bochan wrote:
> I downloaded the latest tarball as per Hiroshi's instruction ,
> unzipped it, (its a .tar.gz file, so I had some difficulty locating
> the right tools for unzipping it in windows ... I used 7zip in the end).
> Did a 'ruby install.rb' in the extracted directory, and VOILA! my script
> worked!

OK.  I'll prepare .zip file from the next release.

> I found one small problem for which I have a workaround.
> It is because the Betfair xml defines a method called 'id'
> -----------
> a= status.result.eventTypeItems.eventType.collect do |market|
>    [market.name,market.id]
> end
> -----------
> Unfortunately this name clashes with Ruby's 'id' method as in Object.id
> Ruby warns that Object.id is 'deprecated' and that you should use
> Object.object_id instead. So the wrong value is returned from 
> 'market.id'.

Does market["id"] work?  [name] interface is for avoiding this kind of
name crash.  And would you please send me a sample output wiredump of
getAllEventTypes for testing it on my side?

Regards,
// NaHi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iQEVAwUBRPkH4h9L2jg5EEGlAQJRvQf6AmZZjGwayavl0QHyudMBwzQ6I9TGARmu
LRvaIxKSgPHl0BptwABqjca7KX5LHtZLlpR0xn/AjdXMziQn5Io+iZAXSL46x99N
Ec4TZu1csVolOCgqecNrnS/IYAHz9WHPp9GZGC+5EI+iSRJe1PPnYFxwafwDan69
jR4uya3BjsXH6fgQHoRBrlAjHSgpeR+k05gIvdRFYKL0n5FT13jAMr5dOizUMtkv
tHaU788iIKJYG51Osvp7E/35UyhkU/5Ol3vMK1ORcsDEOXyC92NXbPglWgeXpJ2X
JLpVH+4QPWn9IdRPXaEeMgqODfbn2eQ/ry879PMN+14ZHehNubJm0A==
=shtg
-----END PGP SIGNATURE-----