From: Jonathan P. <jp...@dc...> - 2005-11-14 10:59:43
|
On 14 Nov 2005, at 0:36, Rupert BARROW wrote: > Somehow, from a WSDL file describing an object with an attribute > called 'Id', soap4r has managed to create an object with an extra > 'id' attribute, different from the Ruby 'id' : > > #<MyObject:0x13f9eec @id="an id"> > > How do I reach this value ? > > I have the same problem with an attribute called 'name' ... Don't know much about soap4r... Try on ruby-talk mailing list? You could always use obj.instance_variable_get("@id"), but that's not very satisfactory. |